jsl colorize profiler並在邊緣模型圖中顯示數據嗨,
誰能告訴我如何用JSL激活“Colorize Profiler”(變量重要性)和“顯示數據”(邊緣模型圖)功能?
在測試腳本之後,我可以手動激活著色和數據,但不能通過JSL激活。
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );
Profiler(
Y( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
Expand,
Dependent Resampled Inputs( 1 ),
Link Profilers( 1 )
);
Re:jsl colorize profiler並在邊緣模型圖中顯示數據謝謝!有用。但是我的報告有點像danamic(一到六個Y)。因此,我使用“For”和“Try”功能修改了腳本。
Names Default To Here( 1 );
// Open Tire Tread
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );
// Use Profiler with predictions
pr = dt << Profiler(Y( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula HARDNESS ),);
// Assess variable importance
pr << Dependent Resampled Inputs( 1 );
// Get the 'little red triangle' for Variable Importance
lrt = Report(pr)[OutlineBox(3)] << getScriptableObject;
lrt << Colorize Profiler;
// Get the 'little red triangle' for Marginal Plots
For (i = 1, i <= 20, i++,
Try(lrt = Report(pr)[OutlineBox(i)] << getScriptableObject;
lrt << Data;))
Re:jsl colorize profiler並在邊緣模型圖中顯示數據我確信有一種直接的方法可以做到這一點,但我現在還記不起語法。所以這是一種間接的方式(當然,'等待'語句用於美容效果):
Names Default To Here( 1 );
// Open Tire Tread
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );
// Use Profiler with predictions
pr = dt << Profiler(Y( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),);
// Assess variable importance
Wait(2);
pr << Dependent Resampled Inputs( 1 );
// Get the 'little red triangle' for Variable Importance
Wait(2);
lrt = Report(pr)[OutlineBox(3)] << getScriptableObject;
lrt << Colorize Profiler;
// Get the 'little red triangle' for Marginal Plots
Wait(2);
lrt = Report(pr)[OutlineBox(10)] << getScriptableObject;
lrt << Data;