I am currently working on Random Forest Classifier. One of the parameters of Random Forest Classifier is "Criterion" which has 2 options : Gini or Entropy. Low value of Gini is preffered and high value of Entropy is preffered. By default, gini is criterion for Random Forest Classifier.
There is an attribute called feature_importances_
provided by sklearn, where we get the values of the attributes/features provided. By using we can select some features and eliminate some using "threshold and SelectFromModel"
My doubt is that, on what basis these feature_importances_
are calculated? Assume default criterion "Gini" is available. If I assume the feature_importances_
are "Gini Importances" then low value is preffered, but in feature importances, high values are preffered