Skip to content

Commit f7d5317

Browse files
committed
FIX: reflect SVC API change (eps -> tol) in doc/tutorial.rst
1 parent f7c9f24 commit f7d5317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ set, let us use all the images of our dataset apart from the last
151151
one:
152152

153153
>>> clf.fit(digits.data[:-1], digits.target[:-1])
154-
SVC(kernel='rbf', C=1.0, probability=False, degree=3, coef0=0.0, eps=0.001,
154+
SVC(kernel='rbf', C=1.0, probability=False, degree=3, coef0=0.0, tol=0.001,
155155
cache_size=100.0, shrinking=True, gamma=0.000556792873051)
156156

157157
Now you can predict new values, in particular, we can ask to the
@@ -186,7 +186,7 @@ persistence model, namely `pickle <http://docs.python.org/library/pickle.html>`_
186186
>>> iris = datasets.load_iris()
187187
>>> X, y = iris.data, iris.target
188188
>>> clf.fit(X, y)
189-
SVC(kernel='rbf', C=1.0, probability=False, degree=3, coef0=0.0, eps=0.001,
189+
SVC(kernel='rbf', C=1.0, probability=False, degree=3, coef0=0.0, tol=0.001,
190190
cache_size=100.0, shrinking=True, gamma=0.00666666666667)
191191
>>> import pickle
192192
>>> s = pickle.dumps(clf)

0 commit comments

Comments
 (0)