Skip to content

FIX, DOC: Fix forest predict_proba with array API and document limitations in coverage#2946

Open
david-cortes-intel wants to merge 1 commit intouxlfoundation:mainfrom
david-cortes-intel:rf_torch
Open

FIX, DOC: Fix forest predict_proba with array API and document limitations in coverage#2946
david-cortes-intel wants to merge 1 commit intouxlfoundation:mainfrom
david-cortes-intel:rf_torch

Conversation

@david-cortes-intel
Copy link
Contributor

Description

Fixes an issue where predict_proba from forest ensembles was returning the wrong class, and along the way adds a section describing the limitations in array API support for estimators like these.


Checklist:

Completeness and readability

  • 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 13, 2026

Codecov Report

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

Files with missing lines Patch % Lines
onedal/ensemble/forest.py 80.00% 1 Missing ⚠️
Flag Coverage Δ
azure 79.85% <80.00%> (ø)
github 81.87% <80.00%> (-0.02%) ⬇️

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

Files with missing lines Coverage Δ
onedal/ensemble/forest.py 93.26% <80.00%> (ø)

... and 1 file with indirect coverage changes

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

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 documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant