1
$\begingroup$

I am currently working with extra-trees in the sklearn package but was wondering how the feature importance (function) is calculating the importances of the features. Is it also calculated by the mean decrease Gini or is there another way? Could not find anything in the source code on GitHub.

$\endgroup$
2
  • $\begingroup$ This sounds like it is just a question about the sklearn function. If so, it would be off topic here; you should read the documentation or contact the tech support somehow. If you have a machine learning question about the measurement of importance in extra trees, please edit to clarify. $\endgroup$ Commented Aug 18, 2017 at 14:51
  • $\begingroup$ Wow, the the "off-topic" crusaders are quick on the trigger. $\endgroup$
    – Tfovid
    Commented Oct 18, 2022 at 9:16

1 Answer 1

1
$\begingroup$

Extra tree classifier in sklearn used Gini Importance for calculating the feature importance. You can check the following link: http://scikit-learn.org/stable/modules/generated/sklearn.tree.ExtraTreeClassifier.html

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.