Skip to content

Compatibility patch to support scikit-learn 1.7#611

Merged
hcho3 merged 1 commit intodmlc:mainlinefrom
hcho3:sklearn_17_compat
Jun 6, 2025
Merged

Compatibility patch to support scikit-learn 1.7#611
hcho3 merged 1 commit intodmlc:mainlinefrom
hcho3:sklearn_17_compat

Conversation

@hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Jun 6, 2025

HistGradientBoostingClassifier / HistGradientBoostingRegressor changed its internal representation.

@codecov
Copy link

codecov bot commented Jun 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.77%. Comparing base (0469cdd) to head (a7ff5b5).
⚠️ Report is 16 commits behind head on mainline.

Additional details and impacted files
@@             Coverage Diff              @@
##           mainline     #611      +/-   ##
============================================
+ Coverage     84.74%   84.77%   +0.02%     
============================================
  Files            77       77              
  Lines          6745     6751       +6     
  Branches        531      531              
============================================
+ Hits           5716     5723       +7     
+ Misses         1029     1028       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@hcho3 hcho3 merged commit 70a6639 into dmlc:mainline Jun 6, 2025
20 checks passed
@hcho3 hcho3 deleted the sklearn_17_compat branch June 6, 2025 07:02
rapids-bot bot pushed a commit to rapidsai/cuml that referenced this pull request Nov 14, 2025
Update Treelite to 4.6.1 to incorporate the following improvements:
* **Support XGBoost 3.1** (dmlc/treelite#638)
* Support scikit-learn 1.7 (dmlc/treelite#611)
* Fix FIL prediction for isolation forest (dmlc/treelite#617, dmlc/treelite#620)
* Support serializing models larger than `2**31 - 1` (dmlc/treelite#624)

Closes #7370
Closes #7368 
Closes #3838

In addition, update FIL to support vector bias from Treelite models.

Authors:
  - Philip Hyunsu Cho (https://github.com/hcho3)

Approvers:
  - Jim Crist-Harif (https://github.com/jcrist)
  - Robert Maynard (https://github.com/robertmaynard)
  - Simon Adorf (https://github.com/csadorf)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant