Skip to content

Commit

Permalink
scikit_wrappers.py bug fix
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Yves Franceschi <jean-yves.franceschi@lip6.fr>
  • Loading branch information
zionsteiner and White-Link authored Dec 6, 2020
1 parent e22099f commit 86c4987
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scikit_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ def fit_classifier(self, features, y):
if train_size // nb_classes < 5 or train_size < 50 or self.penalty is not None:
return self.classifier.fit(features, y)
else:
if self.penalty is None:
grid_search = sklearn.model_selection.GridSearchCV(
self.classifier, {
'C': [
Expand Down

0 comments on commit 86c4987

Please sign in to comment.