Skip to content
Snippets Groups Projects
Commit c3e7b530 authored by Fabian Pedregosa's avatar Fabian Pedregosa
Browse files

Doc updates to the svm module.

parent 811563a6
Branches
Tags
No related merge requests found
......@@ -226,8 +226,8 @@ class SVC(BaseLibsvm):
"""
Classification using Support Vector Machines.
This class implements the most common classification methods
(C-SVC, Nu-SVC) using support vector machines.
This class implements the most classification methods
C-SVC and Nu-SVC using support vector machines.
Parameters
----------
......@@ -292,6 +292,9 @@ class SVC(BaseLibsvm):
predict_proba(X) : array
Return probability estimates.
predict_margin(X) : array
Return distance to predicted margin.
Examples
--------
>>> X = np.array([[-1, -1], [-2, -1], [1, 1], [2, 1]])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment