Skip to content
Snippets Groups Projects
Commit 9de7b66c authored by Yaroslav Halchenko's avatar Yaroslav Halchenko
Browse files

Merge branch '0.8.X' into debian

* 0.8.X:
  FIX: reflect SVC API change (eps -> tol) in doc/tutorial.rst
parents d321362a f7d53179
Branches
Tags
No related merge requests found
......@@ -151,7 +151,7 @@ set, let us use all the images of our dataset apart from the last
one:
>>> clf.fit(digits.data[:-1], digits.target[:-1])
SVC(kernel='rbf', C=1.0, probability=False, degree=3, coef0=0.0, eps=0.001,
SVC(kernel='rbf', C=1.0, probability=False, degree=3, coef0=0.0, tol=0.001,
cache_size=100.0, shrinking=True, gamma=0.000556792873051)
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>`_
>>> iris = datasets.load_iris()
>>> X, y = iris.data, iris.target
>>> clf.fit(X, y)
SVC(kernel='rbf', C=1.0, probability=False, degree=3, coef0=0.0, eps=0.001,
SVC(kernel='rbf', C=1.0, probability=False, degree=3, coef0=0.0, tol=0.001,
cache_size=100.0, shrinking=True, gamma=0.00666666666667)
>>> import pickle
>>> s = pickle.dumps(clf)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment