Skip to content

Fix libsvm SMO paper reference - #34119

Merged
thomasjpfan merged 1 commit into
scikit-learn:mainfrom
Lucas-FManager:codex/fix-libsvm-reference-34086
May 31, 2026
Merged

thomasjpfan merged 1 commit into
scikit-learn:mainfrom
Lucas-FManager:codex/fix-libsvm-reference-34086

Conversation

@Lucas-FManager

Copy link
Copy Markdown
Contributor

Summary

  • Replaces the ambiguous libsvm SMO reference with the full Fan, Chen, and Lin JMLR citation.
  • Leaves the solver implementation untouched.

Root cause

The existing comment cited Fan et al. with page numbers but omitted the actual paper title and full author context, which made the reference hard to verify.

Code shape

One comment-only change in svm.cpp. No C/C++ logic, generated files, tests, dependencies, or public Python API behavior changed.

Security assessment

Low risk: documentation/comment-only update. No executable path, input handling, memory ownership, dependency, or build configuration changed.

Verification

  • rg -n "An SMO algorithm|Working set selection|Journal of Machine|Fan" sklearn\svm\src\libsvm\svm.cpp
  • git diff --check

Fixes #34086

@thomasjpfan thomasjpfan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for the PR @Lucas-FManager ! LGTM!

@thomasjpfan
thomasjpfan merged commit 4d9e1e6 into scikit-learn:main May 31, 2026
36 checks passed
@jeremiedbb jeremiedbb mentioned this pull request Jun 1, 2026
16 tasks done
jeremiedbb pushed a commit that referenced this pull request Jun 2, 2026
prady0t pushed a commit to prady0t/scikit-learn that referenced this pull request Sep 2, 2026
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.

An error of reference in svm.cpp

2 participants