Skip to content

Commit 9938225

Browse files
authored
Update tests/test_estimator/test_estimator.py
1 parent fd62894 commit 9938225

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_estimator/test_estimator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ def test_crossvalidation(self):
275275

276276
# Try to fit a model
277277
cls = HyperoptEstimator(classifier=sgd_classifier("sgd", loss="log"), preprocessing=[])
278-
cls.fit(X, y, cv_shuffle=True, n_folds=5, kfolds_group=np.array([0]*500 + [1]*500 + [2]*500 + [3]*500)) # noqa: E226
278+
cls.fit(X, y, cv_shuffle=True, n_folds=5,
279+
kfolds_group=np.array([0]*500 + [1]*500 + [2]*500 + [3]*500)) # noqa: E226
279280

280281

281282
if __name__ == '__main__':

0 commit comments

Comments
 (0)