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;