We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97e7245 + 7d2d927 commit 6a82a2eCopy full SHA for 6a82a2e
sklearn/ensemble/voting_classifier.py
@@ -61,7 +61,7 @@ class VotingClassifier(BaseEstimator, ClassifierMixin, TransformerMixin):
61
>>> import numpy as np
62
>>> from sklearn.linear_model import LogisticRegression
63
>>> from sklearn.naive_bayes import GaussianNB
64
- >>> from sklearn.ensemble import RandomForestClassifier
+ >>> from sklearn.ensemble import RandomForestClassifier, VotingClassifier
65
>>> clf1 = LogisticRegression(random_state=1)
66
>>> clf2 = RandomForestClassifier(random_state=1)
67
>>> clf3 = GaussianNB()
0 commit comments