Skip to content

DOC Explain tol and max_iter in the SVM user guide#33675

Open
fr3y123 wants to merge 1 commit intoscikit-learn:mainfrom
fr3y123:issue-svm-doc-tol-max-iter
Open

DOC Explain tol and max_iter in the SVM user guide#33675
fr3y123 wants to merge 1 commit intoscikit-learn:mainfrom
fr3y123:issue-svm-doc-tol-max-iter

Conversation

@fr3y123
Copy link
Copy Markdown

@fr3y123 fr3y123 commented Apr 2, 2026

Reference Issues/PRs

None.

What does this implement/fix? Explain your changes.

This PR replaces two placeholder TODOs in the SVM user guide with a short explanation of the tol and max_iter parameters.

The added text explains that:

  • tol controls the stopping criterion of the optimization
  • smaller tol values can improve convergence accuracy at the cost of longer fit times
  • max_iter limits how long the solver is allowed to run
  • scaling the data and adjusting tol or max_iter can help when the solver struggles to converge

This is a documentation-only change and does not modify any API behavior.

AI usage disclosure

I used AI assistance for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Any other comments?

I reviewed the generated text manually and validated the docs build locally.

@Nupurjoshi19
Copy link
Copy Markdown

Hi, I’m new to open source. Can I work on this?

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