Skip to content

Commit

Permalink
fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
qiagu committed Nov 25, 2019
1 parent 1eed6aa commit 3741d82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mlxtend/classifier/tests/test_stacking_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ def test_decision_function():
np.random.seed(123)

# PassiveAggressiveClassifier has no predict_proba
meta = PassiveAggressiveClassifier(random_state=42)
meta = PassiveAggressiveClassifier(max_iter=1000,
tol=0.001,
random_state=42)
clf1 = RandomForestClassifier(n_estimators=10)
clf2 = GaussianNB()
sclf = StackingClassifier(classifiers=[clf1, clf2],
Expand Down

0 comments on commit 3741d82

Please sign in to comment.