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.
Updated

- Category
- Machine Learning
- Level
- Freelancer
- Tags
- ai, Feature Importance, Mean Absolute Error, Multicollinearity, Permutation Importance, python, Random Forest