sachaMorin / np-random-forest

Numpy implementation of Random Forest and Decision Tree for classification.
4 stars 0 forks source link

Feature Importance #1

Open oliverhvidsten opened 1 year ago

oliverhvidsten commented 1 year ago

Hi thank you for making this github repository! I had a quick question.

Is it possible/easy to derive feature importances from this random forest implementation?

sachaMorin commented 1 year ago

Hey thanks for stopping by! This really was more of a learning project when I started learning ML a few years ago. Have you considered using the sklearn random forest implementation? It's a lot more complete and well-supported. It also provides feature importances.

oliverhvidsten commented 1 year ago

Thank you for this suggestion. I am currently on the search for a more stable version of random forest than sklearn provides. I have encountered in the past that sklearn will make breaking changes in updates that will then require a lot of maintenance to my codebase.