Searched refs:weighted_average (Results 1 – 6 of 6) sorted by relevance
149 int weighted_average = 0; in AssignSegments() local192 weighted_average = 0; in AssignSegments()199 weighted_average += new_center * accum[n]; in AssignSegments()203 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()220 SetSegmentAlphas(enc, centers, weighted_average); // pick some alphas. in AssignSegments()
150 int weighted_average = 0; in AssignSegments() local197 weighted_average = 0; in AssignSegments()204 weighted_average += new_center * accum[n]; in AssignSegments()208 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()225 SetSegmentAlphas(enc, centers, weighted_average); // pick some alphas. in AssignSegments()
722 weighted_average = {}728 weighted_average[fw] = np.average(scores, weights=weights)729 return weighted_average
350 weighted_average = self.slog.get_final_weighted_average()352 print '%s: %4.3f' % (fw, weighted_average[fw])
104 int32_t weighted_average = 0; in WeightedAverage() local108 weighted_average += data[k * kNumChannels] * weights[k * kNumChannels]; in WeightedAverage()110 return weighted_average; in WeightedAverage()
602 def weighted_average(self): member in AbstractStats1151 wavg = stat_obj.weighted_average()