프로파일러에서 기억된 설정을 지우시겠습니까?저는 Fit Least Squares 플랫폼 내부의 예측 프로파일러를 사용하는 스크립트를 작성하고 있습니다.
특히, Maximize and Remember 옵션을 활용하고 있는데, 이는 팩터 설정을 Remembered Settings Outline Box에 저장합니다. 특정 조합을 저장한 후 설정을 지우고 싶습니다. JMP를 수동으로 사용하는 경우, "Remembered Settings" 옆의 빨간색 삼각형으로 가서 "Remove All"을 클릭하면 됩니다. JSL에서 이 작업을 어떻게 할 수 있습니까?
개요 상자에 대해 읽어보려고 했는데, "메뉴 항목 상태 설정"이나 "하위 메뉴 설정"과 같은 옵션이 있는 것 같습니다. 관련이 있을 수 있습니다. 하지만 작동하도록 할 수 없고 이 주제에 대한 설명서도 광범위하지 않습니다. 도움을 주시면 감사하겠습니다.
놀아볼 수 있는 장난감 코드:
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );
Fit Model(
Y( :ABRASION ),
Effects( :SILICA, :SILANE, :SULFUR ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Screening" ),
Run(
:ABRASION << {Summary of Fit( 0 ), Analysis of Variance( 0 ),
Parameter Estimates( 1 ), Effect Details( 0 ), Sorted Estimates( 0 ),
Plot Actual by Predicted( 1 ), Plot Regression( 0 ),
Plot Residual by Predicted( 1 ), Plot Studentized Residuals( 1 ),
Plot Effect Leverage( 0 ), Plot Residual by Normal Quantiles( 0 ),
Box Cox Y Transformation( 0 ), Profiler(
1,
Confidence Intervals( 1 ),
Desirability Functions( 1 ),
)}
),
SendToReport(
Dispatch( {}, "Actual by Predicted Plot", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Effect Summary", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Lack Of Fit", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Residual by Predicted Plot", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Studentized Residuals", OutlineBox, {Close( 1 )} )
)
);
// Get current report and profiler
current_rep = current report();
pf=current_rep["Prediction Profiler"] << get scriptable object;
// maximize and remember
pf << maximize and remember;
// clear remembered settings
// ??????
자동화 및 스크립팅Re: 프로파일러에서 기억된 설정을 지우는 방법?이것이 모두 제거를 누르는 것과 같은 작업을 수행할지 확실하지 않습니다.
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Tiretread.jmp");
fm = dt << Fit Model(
Y(:ABRASION),
Effects(:SILICA, :SILANE, :SULFUR),
Personality("Standard Least Squares"),
Emphasis("Effect Screening"),
Run(
:ABRASION << {Summary of Fit(0), Analysis of Variance(0), Parameter Estimates(1),
Effect Details(0), Sorted Estimates(0), Plot Actual by Predicted(1), Plot Regression(0),
Plot Residual by Predicted(1), Plot Studentized Residuals(1), Plot Effect Leverage(0),
Plot Residual by Normal Quantiles(0), Box Cox Y Transformation(0),
Profiler(1, Confidence Intervals(1), Desirability Functions(1), )}
),
SendToReport(
Dispatch({}, "Actual by Predicted Plot", OutlineBox, {Close(1)}),
Dispatch({}, "Effect Summary", OutlineBox, {Close(1)}),
Dispatch({}, "Lack Of Fit", OutlineBox, {Close(1)}),
Dispatch({}, "Residual by Predicted Plot", OutlineBox, {Close(1)}),
Dispatch({}, "Studentized Residuals", OutlineBox, {Close(1)})
)
);
pf = Report(fm)[Outlinebox("Prediction Profiler")] << get scriptable object;
pf << maximize and remember;
Report(fm)[Outline Box("Remembered Settings")] << Delete Box;Re: 프로파일러에서 기억된 설정을 지우는 방법?안녕하세요, Jarmo, 답변 감사합니다. 안타깝게도 이 솔루션은 상자를 삭제하는 데만 효과가 있고, 최대화를 클릭하고 기억한다면 "다시 가져올" 수 없습니다. 개요 상자에서 드롭다운 메뉴에서 항목을 클릭하는 일반적인 방법이 있어야 한다는 것은 당연한 듯합니다.