Skip to content

[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

Merged
merged 10 commits into from
Jan 13, 2019
Merged

[MRG] Documentation/svc documentation references #12859

merged 10 commits into from
Jan 13, 2019

Conversation

tashay
Copy link
Contributor

@tashay tashay commented Dec 24, 2018

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

@tashay tashay changed the title Documentation/svc Documentation/svc documentation references Dec 24, 2018
@@ -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]

Copy link
Member

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

@@ -593,11 +593,15 @@ class SVC(BaseSVC):
implemented using liblinear. Check the See also section of
LinearSVC for more comparison element.

Notes

References
-----
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be:

References
----------

@@ -593,11 +593,15 @@ class SVC(BaseSVC):
implemented using liblinear. Check the See also section of
LinearSVC for more comparison element.

Notes

Copy link
Member

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

**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
Copy link
Member

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]

@reshamas
Copy link
Member

reshamas commented Jan 5, 2019

@NicolasHug
Any more feedback to share with updated commit?
And, do we know who the other reviewer will be on this PR?

Co-Authored-By: tashay <tashay.g@gmail.com>
@tashay tashay changed the title Documentation/svc documentation references [MRG] Documentation/svc documentation references Jan 5, 2019
@@ -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]_.
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM

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]_.
Copy link
Member

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?

@jnothman jnothman merged commit 0cf8a16 into scikit-learn:master Jan 13, 2019
@jnothman
Copy link
Member

Thanks @tashay!

@reshamas
Copy link
Member

yeah! thank you @tashay 👍, as well as @NicolasHug and @jnothman

And thanks to @cynco too.

@tashay tashay deleted the documentation/SVC branch January 13, 2019 20:48
jnothman pushed a commit to jnothman/scikit-learn that referenced this pull request Feb 19, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants