Skip to content

FIX, DOC: Fix SVC probability with array API inputs#2948

Open
david-cortes-intel wants to merge 3 commits intouxlfoundation:mainfrom
david-cortes-intel:svm_pp
Open

FIX, DOC: Fix SVC probability with array API inputs#2948
david-cortes-intel wants to merge 3 commits intouxlfoundation:mainfrom
david-cortes-intel:svm_pp

Conversation

@david-cortes-intel
Copy link
Contributor

Description

Fixes an issue in which calling SVC(probability=True).fit(...) with array API classes succeeds in the first stage of fitting the model, but then errors out when trying to calibrate it at the end of the call to .fit().

Along the way, documents the limitations of how this works on GPU.


Checklist:

Completeness and readability

  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes or created a separate PR with updates and provided its number in the description, if necessary.
  • Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
  • I have resolved any merge conflicts that might occur with the base branch.

Testing

  • I have run it locally and tested the changes extensively.
  • All CI jobs are green or I have provided justification why they aren't.

@david-cortes-intel
Copy link
Contributor Author

/intelci: run

@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
sklearnex/svm/_classes.py 0.00% 1 Missing ⚠️
Flag Coverage Δ
azure 79.74% <83.33%> (?)
github 81.76% <83.33%> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
sklearnex/svm/_base.py 87.38% <100.00%> (-1.95%) ⬇️
sklearnex/svm/_classes.py 83.47% <0.00%> (-0.74%) ⬇️

... and 25 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@david-cortes-intel
Copy link
Contributor Author

/intelci: run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Array API bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant