# Permutation Importance

To see which features any fitted model leans on, shuffle one column of held-out data so its link to the label is broken, score the model again, and take the difference, which scikit-learn's permutation_importance repeats n_repeats times with a random_state, giving a fairer answer than a tree's built-in feature_importances\_, though features that move together can each look less important than they are.

![Cheat sheet: Permutation Importance](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/926d8b9e78a8435798478dcafb9f4476.webp)

- Category: Machine Learning
- Level: Freelancer
- Tags: ai, Feature Importance, Mean Absolute Error, Multicollinearity, Permutation Importance, python, Random Forest
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/ml-permutation-importance-cheat-sheet
