13.4.3 Feature Permutation Importance Code Examples (L13: Feature Selection)

Опубликовано: 20 Март 2026
на канале: Sebastian Raschka
10,477
176

Sebastian's books: https://sebastianraschka.com/books/

This video shows code examples for computing permutation importance in mlxtend and scikit-learn.

Permutation importance is a model-agnostic, versatile way for computing the importance of features based on a machine learning classifier or regression model.

Code notebooks:

Wine data example: https://github.com/rasbt/stat451-mach...
learning-fs21/blob/main/13-feature-selection/05_permutation-importance.ipynb

Using a random feature as a control: https://github.com/rasbt/stat451-mach...

Checking correlated features: https://github.com/rasbt/stat451-mach...


Slides: https://sebastianraschka.com/pdf/lect...

Random forest importance video:    • 13.3.2 Decision Trees & Random Forest Feat...  


-------

This video is part of my Introduction of Machine Learning course.

Next video:    • 13.4.4 Sequential Feature Selection (L13: ...  

The complete playlist:    • Intro to Machine Learning and Statistical ...  

A handy overview page with links to the materials: https://sebastianraschka.com/blog/202...

-------

If you want to be notified about future videos, please consider subscribing to my channel:    / sebastianraschka