13.4.3 Feature Permutation Importance Code Examples (L13: Feature Selection) @SebastianRaschka
13.4.3 Feature Permutation Importance Code Examples (L13: Feature Selection)  @SebastianRaschka
Uploaded December 2021 | Updated September 2026, 2 weeks ago
Sebastian's books: 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: github.com/rasbt/stat451-machine-
learning-fs21/blob/main/13-feature-selection/05_permutation-importance.ipynb

Using a random feature as a control: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/06_random_feature_as_control.ipynb

Checking correlated features: github.com/rasbt/stat451-machine-learning-fs21/blob/main/13-feature-selection/07_perm-imp-with-correlated-feats.ipynb


Slides: sebastianraschka.com/pdf/lecture-notes/stat451fs21/13_feat-sele__slides.pdf

Random forest importance video: youtu.be/ycyCtxZ0a9w


-------

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

Next video: youtu.be/0vCXcGJg5Bo

The complete playlist: youtube.com/playlist?list=PLTKMiZHVd_2KyGirGEvKlniaWeLOHhUF3

A handy overview page with links to the materials: sebastianraschka.com/blog/2021/ml-course.html

-------

If you want to be notified about future videos, please consider subscribing to my channel: youtube.com/c/SebastianRaschka
13.4.3 Feature Permutation Importance Code Examples (L13: Feature Selection)L13.9.3 AlexNet in PyTorchL11.7 Weight Initialization in PyTorch   Code ExampleL8.1 Logistic Regression as a Single-Layer Neural NetworkThe Three Elements of PyTorchL6.2 Understanding Automatic Differentiation via Computation GraphsL17.3 The Log-Var TrickL15.0: Introduction to Recurrent Neural Networks   Lecture OverviewL10.2 Data Augmentation in PyTorchL14.3.2.1 ResNet OverviewBuilding LLMs from the Ground Up: A 3-hour Coding WorkshopThe Big LLM Architecture Comparison
Sebastian Raschka |

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER