christophM / interpretable-ml-book

Book about interpretable machine learning
https://christophm.github.io/interpretable-ml-book/
Other
4.77k stars 1.06k forks source link

Decision Tree Feature Importance #200

Open cmougan opened 4 years ago

cmougan commented 4 years ago

I believe that in section 4.4.1 (https://christophm.github.io/interpretable-ml-book/tree.html) you are just defining one type of feature importance, there are more types and maybe it can be interesting for readers to know about them.

In the xgboost API they define the following: Get feature importance of each feature. Importance type can be defined as:

This can be considered as a more thorough extension.

PD. The book is really interesting thanks :)