

def score_function_all_class(self, x, W):
    score_list = {
        
    }
    ovo_vote = []
    for class_item in self.class_list:
        score = self.score_function(x, W[class_item])
        if (score == 1):
            score_list[class_item] = class_item[0]
        else:
            score_list[class_item] = class_item[1]
        ovo_vote.append(ovo_vote[class_item])
    return max(set(ovo_vote), key=ovo_vote.count)

dataset/ETHPy150Open fukuball/fuku-ml/FukuML/LinearRegression.py MultiClassifier.score_function_all_class/VarMisuse@88/119 `score_list`->`ovo_vote`