Searched refs:weight_sum (Results 1 – 2 of 2) sorted by relevance
132 double weight_sum = 0.0; in ComputeWeightedMean() local136 weight_sum += current_weight; in ComputeWeightedMean()141 return weighted_mean / weight_sum; in ComputeWeightedMean()
686 weight_sum = sum(weight_list)689 adjusted_weight = (self.segment_weights[segment] / weight_sum *