Skip to content

Commit

Permalink
Fix mistake and docstring cosmits in SVC.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblondel committed Aug 28, 2011
1 parent 60b2299 commit a019ad7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions scikits/learn/svm/classes.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -86,24 +86,24 @@ class SVC(BaseLibSVM, ClassifierMixin):
Parameters Parameters
---------- ----------
C : float, optional (default=1.0) C : float, optional (default=1.0)
penalty parameter C of the error term. Penalty parameter C of the error term.
kernel : string, optional (default='rbf') kernel : string, optional (default='rbf')
Specifies the kernel type to be used in the algorithm. Specifies the kernel type to be used in the algorithm.
one of 'linear', 'poly', 'rbf', 'sigmoid', 'precomputed'. It must be one of 'linear', 'poly', 'rbf', 'sigmoid', 'precomputed'.
If none is given 'rbf' will be used. If none is given, 'rbf' will be used.
degree : int, optional (default=3) degree : int, optional (default=3)
degree of kernel function Degree of kernel function.
is significant only in poly, rbf, sigmoid It is significant only in 'poly' and 'sigmoid'.
gamma : float, optional (default=0.0) gamma : float, optional (default=0.0)
kernel coefficient for rbf and poly, if gamma is 0.0 then 1/n_features Kernel coefficient for 'rbf' and 'poly'.
will be taken. If gamma is 0.0 then 1/n_features will be used instead.
coef0 : float, optional (default=0.0) coef0 : float, optional (default=0.0)
independent term in kernel function. It is only significant Independent term in kernel function.
in poly/sigmoid. It is only significant in 'poly' and 'sigmoid'.
probability: boolean, optional (default=False) probability: boolean, optional (default=False)
Whether to enable probability estimates. This must be enabled prior Whether to enable probability estimates. This must be enabled prior
Expand Down

0 comments on commit a019ad7

Please sign in to comment.