HomeMachine Learning & Neural NetworksPermutation Feature Importance Lab (2D)

Permutation Feature Importance Lab (2D)

Interactive 2D permutation-importance simulator: shuffle each feature of a trained classifier's input on a pannable scatter plot and 1D feature rail, watch misclassifications appear, and read the resulting accuracy-drop bars for every feature.

Machine Learning & Neural Networks2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-ds-topic-58 ↗ Open standalone

A trained classifier's decision only matters as much as the features it actually uses — permutation importance finds out which ones those are without ever opening the model up. This simulator holds a batch of points in a 3-feature space where a fixed classification rule labels them, then repeatedly shuffles one feature column at a time across the whole dataset while leaving the true labels and the other two features untouched. Two of the features live on a pannable, zoomable 2D scatter plot; the third lives on its own animated 1D rail beneath it. Each shuffle is animated directly on the points: they slide to their new shuffled value on whichever panel represents the tested feature, and any point that becomes misclassified as a result turns red. Averaging the resulting accuracy drop over K independent shuffles per feature — with the spread reported as a standard deviation — produces the importance bars, exposing that this particular rule leans heavily on two of the three features and almost ignores the third.

⚙ Under the hood

2D permutation-importance simulator: shuffle one input feature of a trained classifier at a time on a pannable, zoomable x1-x2 scatter plot (with x3 on its own animated rail) and watch points scatter and misclassify, revealing which features the model actually depends on via the resulting accuracy-drop bars, driving the same shuffle-and-remeasure statistics as the geometric 3D version.

machine-learningexplainable-aifeature-importancemodel-interpretabilitypermutation-testdata-science

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)