Skip to content

Commit

Permalink
MISC: Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
GaelVaroquaux committed Nov 24, 2010
1 parent 8e9ac4f commit f828e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sgd/plot_iris.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

h = .02 # step size in the mesh

clf = sgd.SGD(alpha=0.001, n_iter=100).fit(X, y)
clf = sgd.ClassifierSGD(alpha=0.001, n_iter=100).fit(X, y)

# create a mesh to plot in
x_min, x_max = X[:, 0].min() - 1, X[:, 0].max() + 1
Expand Down

0 comments on commit f828e65

Please sign in to comment.