Skip to content

Commit

Permalink
clear flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
qiagu committed Nov 24, 2019
1 parent cf256ab commit 1eed6aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mlxtend/classifier/tests/test_stacking_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def test_clone():
def test_decision_function():
np.random.seed(123)

# PassiveAggressiveClassifier has no predict_proba
# PassiveAggressiveClassifier has no predict_proba
meta = PassiveAggressiveClassifier(random_state=42)
clf1 = RandomForestClassifier(n_estimators=10)
clf2 = GaussianNB()
Expand Down
6 changes: 3 additions & 3 deletions mlxtend/classifier/tests/test_stacking_cv_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,13 +573,13 @@ def test_works_with_df_if_fold_indexes_missing():
def test_decision_function():
np.random.seed(123)

# PassiveAggressiveClassifier has no predict_proba
# PassiveAggressiveClassifier has no predict_proba
meta = PassiveAggressiveClassifier(random_state=42)
clf1 = RandomForestClassifier(n_estimators=10)
clf2 = GaussianNB()
sclf = StackingCVClassifier(classifiers=[clf1, clf2],
use_probas=True,
meta_classifier=meta)
use_probas=True,
meta_classifier=meta)

scores = cross_val_score(sclf,
X_breast,
Expand Down

0 comments on commit 1eed6aa

Please sign in to comment.