Skip to content

[MAINT] Change how internally trees encode categorical features to align with HGBT - #34833

Draft
adam2392 wants to merge 1 commit into
scikit-learn:mainfrom
adam2392:feat/coltransform
Draft

[MAINT] Change how internally trees encode categorical features to align with HGBT#34833
adam2392 wants to merge 1 commit into
scikit-learn:mainfrom
adam2392:feat/coltransform

Conversation

@adam2392

@adam2392 adam2392 commented Aug 28, 2026

Copy link
Copy Markdown
Member

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Utilizes ColumnTransformer to help encode categorical features within sklearn/tree/, which matches closely the HGBT codebase.

This will ultimately make #34832 easier to implement.

AI usage disclosure

I used AI assistance for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Any other comments?

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