Skip to content

Commit

Permalink
Merge pull request #4918 from ejcaropr/doc-fix
Browse files Browse the repository at this point in the history
Change name of variable to be consistent with dataset
  • Loading branch information
agramfort committed Jul 2, 2015
2 parents 6a4aa3a + 0e976e1 commit 19a1528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/model_selection/randomized_search.py
Expand Up @@ -31,8 +31,8 @@
from sklearn.ensemble import RandomForestClassifier

# get some data
iris = load_digits()
X, y = iris.data, iris.target
digits = load_digits()
X, y = digits.data, digits.target

# build a classifier
clf = RandomForestClassifier(n_estimators=20)
Expand Down

0 comments on commit 19a1528

Please sign in to comment.