Skip to content

Exporter: export classes_ attribute for subestimator of RF - #686

Merged
chyunsu3 merged 4 commits into
dmlc:mainlinefrom
chyunsu3:export_classes_from_subestimator
Sep 2, 2026
Merged

Exporter: export classes_ attribute for subestimator of RF#686
chyunsu3 merged 4 commits into
dmlc:mainlinefrom
chyunsu3:export_classes_from_subestimator

Conversation

@chyunsu3

Copy link
Copy Markdown
Collaborator

Closes #663 by adopting the fix from NVIDIA/cuml#8291

@chyunsu3 chyunsu3 mentioned this pull request Aug 21, 2026
3 tasks
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.39%. Comparing base (3b2a9a3) to head (38e66d4).

Additional details and impacted files
@@            Coverage Diff            @@
##           mainline     #686   +/-   ##
=========================================
  Coverage     84.39%   84.39%           
=========================================
  Files            75       75           
  Lines          6862     6862           
  Branches        557      557           
=========================================
  Hits           5791     5791           
  Misses         1071     1071           

☔ View full report in Codecov by Harness.
📢 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.

@chyunsu3

Copy link
Copy Markdown
Collaborator Author

@csadorf Can I get a review?

Comment thread python/treelite/sklearn/exporter.py Outdated
Comment thread python/treelite/sklearn/exporter.py Outdated
@chyunsu3
chyunsu3 merged commit b0cc925 into dmlc:mainline Sep 2, 2026
20 checks passed
@chyunsu3
chyunsu3 deleted the export_classes_from_subestimator branch September 2, 2026 00:13
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.

treelite.sklearn.export_model should preserve sklearn-compatible child estimator class metadata for random forest classifiers

2 participants