

def calculate_avg_error_all_class(self, X, Y, W):
    data_num = len(Y)
    error_num = 0
    for i in range(data_num):
        error_num = (error_num + self.error_function(self.score_function_all_class(X[i], W), Y[i]))
    avg_error = (X / float(data_num))
    return avg_error

dataset/ETHPy150Open fukuball/fuku-ml/FukuML/LinearRegression.py MultiClassifier.calculate_avg_error_all_class/VarMisuse@69/91 `error_num`->`X`