示例#1
0
 def __init__(self, metrics_with_weights):
     pypeline.Filter.__init__(self)
     self.weights = [item[1] for item in metrics_with_weights]
     self.metrics = [item[0] for item in metrics_with_weights]
     self.method_matrix_builder = MethodMatrix(self.metrics, self.weights)