Permutation Feature Importance Lab
Watch permutation feature importance work in 3D: shuffle one feature column of a fitted linear model at a time, watch prediction error rise on the point cloud, and read off which feature the model actually depends on.
Permutation feature importance answers a very concrete question about any already-trained model: how much worse do its predictions get if one input feature is shuffled so it no longer lines up with the sample it belongs to? This simulator fits a real linear-regression model to a synthetic dataset by ordinary least squares, renders every sample as a point in a 3D cloud positioned by its true feature values, and colors each point by the model's prediction error. Choosing a feature and running the permutation test shuffles that column, feeds the mismatched inputs back through the exact same fitted model, and recolors the cloud live — a feature the model actually depends on turns the cloud red, while an irrelevant one barely changes it. Averaging several independent shuffles turns that single noisy read into the stable importance ranking shown in the side panel.
Fit a real linear-regression model to a synthetic dataset, then shuffle one feature column at a time and watch prediction error ripple through a live 3D point cloud to reveal which features the model actually depends on.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install