Home | History | Annotate | Download | only in src

Lines Matching full:weight

120 //Rw is the learning rate for weight and Rg is leaning rate for mean and variance
130 //w[n+1] = w[n] + Rw*(g - w[n]) weight
202 bg_model->g_point[n].g_values[0].weight = 1; //the first value seen has weight one
211 bg_model->g_point[n].g_values[k].weight = 0;
442 g_point->g_values[k].weight = g_point->g_values[k].weight +
444 g_point->g_values[k].weight));
446 double learning_rate_gaussian = (double)match[k]/(g_point->g_values[k].weight*
472 g_point->g_values[k].weight = g_point->g_values[k].weight +
473 (learning_rate_weight*((double)match[k] - g_point->g_values[k].weight));
506 g_point->g_values[bg_model_params->n_gauss - 1].weight = 1./(double)match_sum_total;
517 g_point->g_values[k].weight *= alpha;
519 g_point->g_values[k].weight += alpha;
548 g_point->g_values[k].weight = (double)g_point->g_values[k].match_sum /
567 sort_key[k] = g_point->g_values[k].weight/sqrt(variance_sum);
587 weight_sum += g_point[n].g_values[b].weight;