x})^{-1}$ (shown as “FF-$\sigma$” blocks in Figure \[fig:whole\_model\]). We compute the [**base chatter intensity**]{} corresponding to $s_j$ as $B_j = r_j\Tilde{B}_j$ such that $0<r_j<1$ plays the role of a scaling factor to calibrate $B_j$ according to the activity level of the subreddit.

Having computed $B_j$, the chatter intensity invoked by $s_j$, under the influence of past history of news and submission arrival and calibrated by the subreddit information, we next observe the commenting activity under $s_j$ within the observation window (see component (4) in Figure \[fig:whole\_model\]). We employ a binning over time intervals to transform the comment arrivals within the observation window $[t_j, t_j+m\Delta_\text{obs}]$ into a sequence $\langle c^1_j, c^2_j, \cdots, c^m_j\rangle$ where each $c^l_j$ is the total number of comments arrived within $[t_j+(l-1)\Delta_\text{obs}, t_j+l\Delta_\text{obs}]$. This sequence serves as a coarse approximation of the rate of comment arrivals over the observation window. We use a single LSTM layer to aggregate this sequence and predict the final chatter $y^m_j$ (superscript corresponds to the length of the observation window). In the zero-shot setting (i.e., $m=0$) this LSTM is not used and we predict chatter $y^0_j = B_j$.

Details of  parameters are given in Appendix \[appendix:parameters\].

Cost/Loss Functions {#subsec:cost_function}
-------------------

In a realistic setting, there are far too many discussions invoking near-zero chatter along with very small number of those which go viral heavily. As we take both of these types without any filtering (opposed to excluding less viral ones in the cascade prediction tasks like [@kobayashi2016tideh] or [@zhao2015seismic]), the cost function needs to handle skewed ground truth values. To deal with this, we train  by minimizing the mean absolute relative error given by $\sum_j \frac{\lvert y_j - y^m
x})^{-1}$ (shown as “ FF-$\sigma$ ” blocks in Figure   \[fig: whole\_model\ ]). We compute the [ * * base yak volume * * ] { } corresponding to $ s_j$ as $ B_j = r_j\Tilde{B}_j$ such that $ 0 < r_j<1 $ plays the function of a scaling divisor to calibrate $ B_j$ according to the activity horizontal surface of the subreddit. 

 Having calculate $ B_j$, the chatter intensity invoked by $ s_j$, under the influence of past history of news and submission arrival and calibrate by the subreddit information, we next observe the gloss activity under $ s_j$ within the observation window (see component (4) in Figure   \[fig: whole\_model\ ]). We use a binning over time intervals to transform the gossip arrivals within the observation window $ [ t_j, t_j+m\Delta_\text{obs}]$ into a sequence $ \langle c^1_j, c^2_j, \cdots, c^m_j\rangle$ where each $ c^l_j$ is the entire number of comments arrived within $ [ t_j+(l-1)\Delta_\text{obs }, t_j+l\Delta_\text{obs}]$. This sequence serves as a coarse estimate of the rate of comment arrivals over the observation window. We use a individual LSTM layer to aggregate this sequence and predict the final chatter $ y^m_j$ (superscript corresponds to the length of the observation window). In the zero - shot setting (i.e., $ m=0 $) this LSTM is not use and we predict chatter $ y^0_j = B_j$. 

 Details of   parameter are pass in Appendix   \[appendix: parameters\ ]. 

 Cost / Loss Functions { # subsec: cost_function } 
 ------------------- 

 In a realistic setting, there are far too many discussions invoking near - zero chatter along with very small numeral of those which go viral heavily. As we take both of these types without any filtering (opposed to excluding less viral one in the cascade prediction tasks like [ @kobayashi2016tideh ] or [ @zhao2015seismic ]), the cost function need to handle skew flat coat truth values. To deal with this, we train   by minimize the mean absolute relative error grant by $ \sum_j \frac{\lvert y_j - y^m
x})^{-1}$ (sjown as “FF-$\sigma$” blocks ik Figure \[fig:whole\_model\]). Wx compufe the [**bxse chatter intensity**]{} corres'ondung ti $s_j$ as $B_j = r_j\Tilde{B}_j$ ruch that $0<r_j<1$ playw tht role of a scaliif factov to dwlibxave $B_j$ according to the acdivity level ox ghz subreddit.

Having computed $B_j$, the chwtter imtfnsity invoked by $x_t$, unsvr the influence of past historg of nexs and submissipn arrival and calibrated hy tje subreddit inforlation, we ngst jvserve the cummenting activity undgr $s_j$ within the observation winaow (sze componenj (4) ij Figure \[fig:wiole\_moqel\]). We emplon a binting ovrr time intervsls to transform the commenv arrivals within thg observathou window $[t_j, t_j+m\Delta_\twxr{obs}]$ hnto a sdwuevce $\lengme c^1_j, f^2_j, \rdots, c^m_j\rahgle$ where wach $c^l_j$ is the totsl bumber of comjents wrwived within $[t_j+(l-1)\Delta_\text{obs}, t_j+l\Delta_\teqt{oba}]$. This sequence serves qs a coarse approximajion of thq rate of comment arrivals over the observation whndow. De bwe a runhle LSTM layer to aggregate this sequence and lrtdibt the final chatber $y^m_j$ (superscripy fottesponds to thg lengtk or the observation aindow). Yn thw zero-shou setying (i.e., $m=0$) this LSTM is not ysed and we ireduct chatter $y^0_j = B_j$.

Betails of  pcrametgrs arr given in Appendix \[appeudix:padameters\].

Cosh/Loss Fundgions {#subsec:cost_wunbtiot}
-------------------

In a realistic setting, thqre are fer top many aiscossions invoking jear-zcso chatter along wlth vgry smdll number of those which go viral heavilb. As we take nodh mf these typex without any filtering (opppsed to excljding less viral mnes in the cascade predhftion tasks nike [@kobwyasyi2016tieeh] or [@xfao2015seismic]), the cost funbtnon needs to handle skewed nrouna truth values. Ti dtao with this, we trxin  bj mmnimishng the mean absulugr relxtive error eivem by $\sum_j \frac{\lvert f_j - g^m
x})^{-1}$ (shown as “FF-$\sigma$” blocks in Figure compute [**base chatter corresponding to $s_j$ that plays the role a scaling factor calibrate $B_j$ according to the activity of the subreddit. Having computed $B_j$, the chatter intensity invoked by $s_j$, under influence of past history of news and submission arrival and calibrated by the information, next the activity under $s_j$ within the observation window (see component (4) in Figure \[fig:whole\_model\]). We employ a over time intervals to transform the comment arrivals the observation window $[t_j, into a sequence $\langle c^1_j, \cdots, where each is total of comments arrived $[t_j+(l-1)\Delta_\text{obs}, t_j+l\Delta_\text{obs}]$. This sequence serves as a coarse approximation of the rate of comment arrivals over the window. We single LSTM to this and predict the $y^m_j$ (superscript corresponds to the length window). In the zero-shot setting (i.e., $m=0$) this is not and we predict chatter $y^0_j = Details of parameters are given in Appendix \[appendix:parameters\]. Functions {#subsec:cost_function} ------------------- In a realistic setting, there are far too many discussions invoking near-zero with very small number those which go heavily. we both these types any filtering (opposed to excluding less viral ones in the cascade tasks like [@kobayashi2016tideh] or [@zhao2015seismic]), the cost function needs to ground values. To deal this, we train by the absolute relative error given \frac{\lvert -
x})^{-1}$ (shown as “FF-$\sigma$” blocks in FiGure \[fig:whoLe\_modEl\]). WE coMpUte tHe [**baSe chatter intenSIty**]{} cOrresponding to $s_j$ as $B_j = r_j\tilde{b}_j$ SUch tHAt $0<R_j<1$ plaYs the roLE oF A ScaLiNg FacToR To CalibRatE $B_j$ accoRding to the ActIvIty level of thE SuBreddit.

HavIng Computed $B_j$, thE chAtter iNtEnsITy invOkeD by $s_j$, Under tHE influEnce of pasT hIStory oF News and SUBmIssiOn arrival and calibRAtED by the subreddiT inforMaTIoN, WE neXt oBserve the cOmMentiNG activiTY uNDER $s_j$ WIthin the obserVation windoW (See ComponEnT (4) in fIgure \[fIg:whoLe\_MOdeL\]). We employ a bInniNg over timE interVAls to trANsform tHe commEnt ArrIvalS WiThIn tHe OBseRVaTioN WinDow $[t_j, t_j+m\deLtA_\text{Obs}]$ iNTO A SequEncE $\lanGle c^1_j, C^2_j, \cdots, c^m_j\ranGle$ WherE EacH $c^l_j$ iS the tOtal NuMber oF commeNts arRiVed within $[t_j+(l-1)\DelTa_\teXt{obs}, t_j+l\DEltA_\tExt{ObS}]$. This SEquencE seRveS as a coaRse apprOXimAtION Of The rate of comment arRiVALs Over the oBservaTIoN wINdow. We usE a SinGle Lstm layeR to aGGrEgate thiS sequeNCe AnD predicT tHe finaL cHatTer $Y^m_j$ (suPErscRipt coRrespondS to thE Length of the obsERvation window). iN tHE ZeRO-shoT seTting (i.e., $m=0$) thiS LSTm Is noT useD AnD we PRedicT chatTeR $Y^0_j = b_J$.

Details of  parameterS aRe giveN in ApPendix \[appendiX:parameterS\].

cOSt/Loss FuNctiONs {#SUbsec:cost_functIon}
-------------------

In A realistic SEtting, thEre arE far too mAny discusSIOns invokIng NeaR-zeRo cHATtEr along with veRY SmalL nUmber of ThoSe which Go vIraL heAviLy. as we take bOth of theSe TyPeS wIthOut anY FilterinG (oPpoSeD to ExcluDIng lesS viraL oneS iN tHE caScade prEDiCTIon tAsKs Like [@KobAyAshi2016tIdeh] OR [@zhAo2015seismIc]), the cost FunCTion NeEdS to handLe skewed grounD tRuth values. to DeaL with tHIS, we train  By minimizing the mean absoLUte relaTivE erroR givEn by $\sum_j \fRac{\Lvert y_J - y^m
x})^{-1}$ (shown as “FF-$\ sigma$” bl ocksinFig ur e \[ fig: whole\_model\] ) . We  compute the [**base c hatte ri nten s it y**]{ } corre s po n d ing  t o$s_ j$ as  $B_j  =r_j\Til de{B}_j$ s uch  t hat $0<r_j<1 $  p lays the r ole  of a scalin g f actorto  ca l ibrat e $ B_j$accord i ng tothe activ it y  level of thes u br eddi t.

Having comput e d$ B_j$, the chat ter in te n si t y  in vok ed by $s_j $,  unde r  the in f lu e n c e o f  past history  of news an d  su bmissi on  ar r ival a nd ca li b rat ed by the s ubre ddit info rmatio n , we ne x t obser ve the  co mme ntin g  a ct ivi ty und e r$s_ j $ w ithin th eob serva tion w i n dow(se e co mpone nt (4) in Fig ure  \[f i g:w hole\ _mode l\]) .We em ploy a  binn in g over time int erva ls to tra nsf or m t he  comm e nt arr iva lswithinthe obs e rva ti o n wi ndow $[t_j, t_j+m\ De l t a_ \text{ob s}]$ i n to  a sequence  $ \la ngle c ^1_j,  c^2 _ j,  \cdots,  c^m_j \ ra ng le$ whe re  each$c ^l_ j$is th e  tot al num ber of c ommen t s arrived with i n $[t_j+(l-1) \ De l t a_ \ text {ob s}, t_j+l\D elta _ \tex t{ob s }] $.T his s equen ce se r ves as a coarse app ro ximati on of  the rate ofcomment ar r i v als over  the ob s ervation windo w. We  use a sin g le LSTMlayer  to aggr egate thi s sequence  an d p red ict t he  final chatte r $y^m _j $ (supe rsc ript co rre spo nds  to  t he length  of theob se rv at ion  wind o w). In t he  ze ro -sh ot se t ting ( i.e.,  $m= 0$ )t his  LSTM i s  n o t  use dan d we  pr ed ict c hatt e r $ y^0_j =  B_j$.

D eta i ls o f p aramete rs are givenin  Appendix\[ app endix: p a rameters \].

Cost/Loss Function s  {#subs ec: cost_ func tion}
--- --- ------ --- - ---

I n a re alist ic  se t t ing,t h er e a re  far too m a n y d iscus si onsinvokin g near-zero chatte r  al ong with very  sm alln u mb ero ft hos ew hic h go viral heavil y. As we t ak e  b oth of the s e t yp es with out any  filt e ring (o pposed to  excludin gless v ira l ones inthe casc ade predi c tiont as ks li ke[@koba ya shi 2016t ideh]o r [ @zhao 2015se is mic]),  theco st funct ion needs to handle ske wed gr oundtru th values . T o  de al with t his,  we train by  mi nimiz ing the m eana bs olu t e rel ativ e  error gi v en  by $ \s um_j \frac{ \ l v ert  y_j- y ^ m
x})^{-1}$ (shown_as “FF-$\sigma$”_blocks in Figure \[fig:whole\_model\]). We_compute the_[**base_chatter intensity**]{}_corresponding_to $s_j$ as_$B_j = r_j\Tilde{B}_j$_such that $0<r_j<1$ plays_the role of_a_scaling factor to calibrate $B_j$ according to the activity level of the subreddit.

Having computed_$B_j$,_the chatter_intensity_invoked_by $s_j$, under the influence_of past history of news_and submission_arrival and calibrated by the subreddit information, we_next_observe the commenting_activity under $s_j$ within the observation window (see component_(4) in Figure \[fig:whole\_model\]). We employ a_binning over time_intervals_to_transform the comment arrivals_within the observation window $[t_j, t_j+m\Delta_\text{obs}]$_into a sequence $\langle c^1_j, c^2_j,_\cdots, c^m_j\rangle$ where each $c^l_j$ is the_total number of comments arrived within_$[t_j+(l-1)\Delta_\text{obs}, t_j+l\Delta_\text{obs}]$. This sequence serves_as a_coarse approximation of the rate_of comment arrivals_over the_observation window. We_use a single LSTM layer to_aggregate this sequence_and predict the final chatter $y^m_j$_(superscript_corresponds to the_length_of_the observation_window). In the_zero-shot_setting (i.e.,_$m=0$)_this LSTM is not used and_we_predict chatter $y^0_j = B_j$.

Details of  parameters_are given in Appendix \[appendix:parameters\].

Cost/Loss_Functions_{#subsec:cost_function}
-------------------

In a realistic setting,_there are far too many_discussions invoking near-zero chatter along with_very small_number of_those which go viral heavily. As we take both of these_types without any filtering (opposed to_excluding less viral ones_in the_cascade_prediction tasks like_[@kobayashi2016tideh]_or [@zhao2015seismic]),_the cost function needs to handle skewed_ground truth_values. To deal with this, we_train  by minimizing the_mean_absolute relative error given by $\sum_j_\frac{\lvert y_j - y^m