Skip to content

sklearn: Add class_names to export_text - #408

Open
Zachary Liu (zHElEARN) wants to merge 1 commit into
microsoft:mainfrom
zHElEARN:sklearn-export-text-class-names
Open

Zachary Liu (zHElEARN) wants to merge 1 commit into
microsoft:mainfrom
zHElEARN:sklearn-export-text-class-names

Conversation

@zHElEARN

Copy link
Copy Markdown

Add the missing class_names keyword argument to the sklearn.tree.export_text stub and remove both corresponding stubtest allowlist entries.

scikit-learn _export.py

Verified locally on Python 3.13 with ruff, mypy, pyright, pytest, and stubtest. All 649 sklearn modules passed stubtest.

@zHElEARN

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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

Labels

None yet

1 participant