Statistics Glossary → Permutation importance
Permutation importanceconcept
A model-agnostic importance measure that gauges a variable's contribution to prediction by how much the model's test performance drops when that variable's values are randomly shuffled.
After the model is trained, its performance (e.g. accuracy, AUC, RMSE) is computed on the test set. Then one variable's column is shuffled randomly across observations; this breaks its relationship with the outcome while keeping its distribution. Without retraining, the model predicts on the shuffled data, and the drop in performance is taken as that variable's importance. The process is repeated several times and averaged, separately for each variable.
Permutation importance can be applied to any model (random forest, neural network, support vector machine) and does not share the tendency of impurity-based importance in tree models to favour variables with many categories or continuous values. However, if two variables are strongly correlated, shuffling one leaves the model able to get the same information from the other, so both can look unimportant. Shuffling can create combinations of values that never occur in reality. Importance shows contribution to prediction; it says nothing about causal effect or the direction of the effect. Computing it on the test set rather than the training set avoids inflation from overfitting.
An everyday example
A property website uses a model to predict house prices, with an average test-set error of 50 thousand TL. Shuffling the 'floor area' column raises the error to 180 thousand TL and shuffling 'district' to 140 thousand TL, while shuffling 'door colour' leaves it at 51 thousand TL. This shows the model's predictions rely mainly on floor area and district.
In MerQur
Available as the 'Permutation importance' option in random forest, support vector machine and decision tree, computed on the test set. It also appears in the output of gradient boosting and the neural network analysis.
Analyses where this concept appears
Random ForestSupport Vector Machine (SVM)Gradient BoostingDecision Tree (CART)Neural Network (MLP)