Searched refs:weighted_average (Results 1 – 5 of 5) sorted by relevance
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()
738 def weighted_average(self): member in AbstractStats1451 wavg = stat_obj.weighted_average()2012 if stat.weighted_average():2023 wavg = stat.weighted_average()