使用小提琴圖(密度)時,可以選擇使每個變數具有相等的寬度。
然而,我們無法繪製具有相同形狀的點分佈,因為它不考慮每個變數的寬度。

// Start of script;
Names Default To Here( 1 );
Clear Log();
dt = Open( "$SAMPLE_DATA/Bands Data.JMP" );
Data Table( "Bands Data" ) << Stack(
columns( :proof cut, :viscosity, :blade pressure ),
Source Label Column( "Label" ),
Stacked Data Column( "Data" ),
Drop All Other Columns( 1 )
);
Graph Builder(
Size( 534, 456 ),
Show Control Panel( 0 ),
Variables( X( :Data ), Y( :Label ) ),
Elements(
Points( X, Y, Legend( 5 ), Jitter( "Packed" ), Jitter Limit( 0 ) ),
Contour( X, Y, Legend( 6 ), Violin Scaling( "Equal Width" ) )
)
)
要實現這樣的目標應該很簡單,但是有很多變數。

重現 SHAP 圖需要此功能,這是 JMP 17 Pro 中引入的功能,但沒有標準的可視化輸出。
https://community.jmp.com/t5/JMP-Add-Ins/Predictor-Explainer-AutoML-and-Explainable-AI-in-JMP-Python/ta-p/544064
拆分數據表和變量的串聯對於否則會變得混亂的可視化來說是很多工作。
現在有了更多選項(針對「網格」)——也許是受此需求啟發?
