Skip to content

DOC correct bound of sum LinearSVR in formula in svm.rst #24722

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 1 commit into from
Oct 23, 2022
Merged

DOC correct bound of sum LinearSVR in formula in svm.rst #24722

merged 1 commit into from
Oct 23, 2022

Conversation

ftorres16
Copy link
Contributor

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Section 1.4.7.2. LinearSVC of the SVM documentation gives an equivalent formula for the primal problem where there is a sum with a lower bound (i=1) but no upper bound.

I believe that for this expression to be correct the sum should have an upper bound of n.

Any other comments?

@glemaitre
Copy link
Member

Yes this seems correct. Thanks @ftorres16 Merging.

@glemaitre glemaitre merged commit 8654471 into scikit-learn:main Oct 23, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Oct 31, 2022
andportnoy pushed a commit to andportnoy/scikit-learn that referenced this pull request Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants