Searched refs:cum_prob (Results 1 – 3 of 3) sorted by relevance
53 thr = ((thr >> 1) + 4 * m->cum_prob[0]) / thr; in model_calc_threshold()64 m->cum_prob[i] = m->num_syms - i; in model_reset()81 int cum_prob; in model_rescale_weights() local85 while (m->cum_prob[0] > m->threshold) { in model_rescale_weights()86 cum_prob = 0; in model_rescale_weights()88 m->cum_prob[i] = cum_prob; in model_rescale_weights()90 cum_prob += m->weights[i]; in model_rescale_weights()115 m->cum_prob[i]++; in ff_mss12_model_update()
41 int16_t cum_prob[MODEL_MAX_SYMS + 1]; member125 idx = prefix ## _get_prob(c, m->cum_prob); \
2622 for z, cum_prob in [2629 self.assertAlmostEqual(Z.cdf(z), cum_prob, places=5)2630 self.assertAlmostEqual(Z.cdf(-z), 1.0 - cum_prob, places=5)