Skip to content

Conversation

snath-xoc
Copy link
Contributor

@snath-xoc snath-xoc commented Aug 29, 2025

Reference Issues/PRs

Related to issue #31885

What does this implement/fix? Explain your changes.

this PR deprecates the use of probability=True in both SVC and NuSVC

Any other comments?

For now the default is set as probability="deprecated" and later on it is set to probability=False. This is as within the base libsvm.fit function pyx code, probability is required to be a boolean integer. Perhaps in future we hard-code this as always being 0 (i.e., False), as we should not use probability=True?

FYI @ogrisel

Copy link

github-actions bot commented Aug 29, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: b3c5314. Link to the linter CI: here

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.

1 participant