Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: RandomForest conforms to sklearn Estimator interface #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ilia-Shutov
Copy link
Collaborator

@Ilia-Shutov Ilia-Shutov commented Aug 21, 2023

Note: reconstruct_forest (reconstructForest) deserialization logic is changed as well as Python part of serialization: tree_counts contains 3 values for each tree instead of 4: numNodes, numSplitIdx, numAvIdx
Verified by adding test_pickle_unpickle.py, also sklearn test set contains its own pickle - unpickle test

Issue #98

Continuation of #101 (closed in favour of this one)

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.

Compatibility with sklearn estimators
1 participant