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

Some minor differences in random forest implementations #160

Open
tecosaur opened this issue May 11, 2022 · 0 comments
Open

Some minor differences in random forest implementations #160

tecosaur opened this issue May 11, 2022 · 0 comments

Comments

@tecosaur
Copy link

I've been comparing some random forest implementations recently (https://github.com/tecosaur/TreeComparison), one of the results of which is #159, but I also have some other information which may be of interest.

For starters, here's the colour coding I use:
image

Error rates mostly converged among the different implementations I tested, however sometimes ranger does a little bit better:
image

image

Precision-recall and ROC curves generally look near-identical, as they should.
image

I've also noticed some larger differences in the depth and size of the random trees created. Across a number of datasets DecisionTrees.jl and randomForest produce narrower/deeper trees than ranger and sklearn.

image

image

image

image

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

No branches or pull requests

1 participant