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)
Example #4
0
 def fit(self, X, y):
     y = binarize_score(y, self.n_ans)
     super(LinearSVCWrapper, self).fit(X, y)
Example #5
0
 def fit(self, X, y, sample_weight=None):
     y = binarize_score(y, self.n_ans)
     super(SVCWrapper, self).fit(X, y, sample_weight)
Example #6
0
 def fit(self, X, y, sample_weight=None):
     y = binarize_score(y, self.n_ans)
     super(LogisticRegressionWrapper, self).fit(X, y, sample_weight)