-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[MRG] Documentation/svc documentation references #12859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
sklearn/svm/classes.py
Outdated
@@ -558,15 +558,15 @@ class SVC(BaseSVC): | |||
|
|||
probA_ : array, shape = [n_class * (n_class-1) / 2] | |||
probB_ : array, shape = [n_class * (n_class-1) / 2] | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to skip line
sklearn/svm/classes.py
Outdated
@@ -593,11 +593,15 @@ class SVC(BaseSVC): | |||
implemented using liblinear. Check the See also section of | |||
LinearSVC for more comparison element. | |||
|
|||
Notes | |||
|
|||
References | |||
----- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be:
References
----------
sklearn/svm/classes.py
Outdated
@@ -593,11 +593,15 @@ class SVC(BaseSVC): | |||
implemented using liblinear. Check the See also section of | |||
LinearSVC for more comparison element. | |||
|
|||
Notes | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to skip line
sklearn/svm/classes.py
Outdated
**References:** | ||
`LIBSVM: A Library for Support Vector Machines | ||
<http://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf>`__ | ||
.. [1]`LIBSVM: A Library for Support Vector Machines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs blank space after [1]
@NicolasHug |
Co-Authored-By: tashay <tashay.g@gmail.com>
sklearn/svm/classes.py
Outdated
@@ -565,8 +565,7 @@ class SVC(BaseSVC): | |||
``1 / (1 + exp(decision_value * probA_ + probB_))`` | |||
where ``probA_`` and ``probB_`` are learned from the dataset. For more | |||
information on the multiclass case and training procedure see section | |||
8 of LIBSVM: A Library for Support Vector Machines (in References) | |||
for more. | |||
8 of LIBSVM: A Library for Support Vector Machines [1]_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think [2]_
should also be cited somewhere. Perhaps under the probability
parameter description above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
sklearn/svm/classes.py
Outdated
for more. | ||
where ``probA_`` and ``probB_`` are learned from the dataset [2]_. For | ||
more information on the multiclass case and training procedure see | ||
section 8 of LIBSVM: A Library for Support Vector Machines [1]_. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
section 8 of [1]_
should suffice?
Thanks @tashay! |
yeah! thank you @tashay 👍, as well as @NicolasHug and @jnothman And thanks to @cynco too. |
This reverts commit e89aadf.
This reverts commit e89aadf.
Reference Issues/PRs
This PR is a continuation of the work on and resolves #12217.
What does this implement/fix? Explain your changes.
This PR adds references for SVC
Any other comments?
#wimlds
cc: @reshamas