Searched refs:n_past (Results 1 – 3 of 3) sorted by relevance
/dports/biology/gmap/gmap-2020-09-12/src/ |
H A D | changepoint.c | 30 int pos, x, y, n, x_past, y_past, x_future, y_future, n_past, n_future; in Changepoint_left() local 61 x_past = y_past = n_past = 0; in Changepoint_left() 80 n_past++; in Changepoint_left() 83 theta_past = ((double) x_past + x_pseudo)/((double) n_past + NPSEUDO); in Changepoint_left() 91 pos,matchscores[pos],x_past,y_past,n_past,x_future,y_future,n_future, in Changepoint_left() 104 pos,matchscores[pos],x_past,y_past,n_past,x_future,y_future,n_future, in Changepoint_left() 138 int pos, x, y, n, x_past, y_past, x_future, y_future, n_past, n_future; in Changepoint_right() local 170 x_past = y_past = n_past = 0.0; in Changepoint_right() 188 n_past += 1.0; in Changepoint_right() 191 theta_past = ((double) x_past + x_pseudo)/((double) n_past + NPSEUDO); in Changepoint_right() [all …]
|
/dports/science/py-scikit-learn/scikit-learn-1.0.2/sklearn/ |
H A D | naive_bayes.py | 254 def _update_mean_variance(n_past, mu, var, X, sample_weight=None): argument 306 if n_past == 0: 309 n_total = float(n_past + n_new) 313 total_mu = (n_new * new_mu + n_past * mu) / n_total 318 old_ssd = n_past * var 320 total_ssd = old_ssd + new_ssd + (n_new * n_past / n_total) * (mu - new_mu) ** 2
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Laptop/ |
H A D | Personnel.cc | 1783 INT32 const n_past = GetNumberOfPastMercsOnPlayersTeam(); in DepartedDownCallBack() local 1784 if (n_past - giCurrentUpperLeftPortraitNumber > PERSONNEL_PORTRAIT_NUMBER) in DepartedDownCallBack() 1787 if (iCurrentPersonSelectedId >= n_past - giCurrentUpperLeftPortraitNumber) in DepartedDownCallBack() 1789 iCurrentPersonSelectedId = n_past - giCurrentUpperLeftPortraitNumber - 1; in DepartedDownCallBack()
|