def fit(self, X, y): y = binarize_score(y, self.n_ans) super(LinearSVCWrapper, self).fit(X, y)
def fit(self, X, y, sample_weight=None): y = binarize_score(y, self.n_ans) super(SVCWrapper, self).fit(X, y, sample_weight)
def fit(self, X, y, sample_weight=None): y = binarize_score(y, self.n_ans) super(LogisticRegressionWrapper, self).fit(X, y, sample_weight)