cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
RMSEBird223
Level II

Is it possible to fully automatize "obj << Set Desirabilities;"

Hi all, 

when you run the code below (code is taken from the scripting index) a window opens where you can manually specify if a response shall be maximized, be none etc. I was wondering if this manual step can be done completely by scripting such that no user interaction is required at all?

Thanks for your help!

Note: I'm using JMP 18.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );
obj = dt << Profiler(
	Y( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS )
);
obj << Desirability Functions( 1 );
obj << Set Desirabilities;
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Is it possible to fully automatize "obj << Set Desirabilities;"

Did you try what would happen if you just dropped those? It might work but I'm not sure

obj << (Pred Formula ABRASION << Response Limits({Goal("None")}));
-Jarmo

View solution in original post

3 REPLIES 3
jthi
Super User

Re: Is it possible to fully automatize "obj << Set Desirabilities;"

I think you can do something like this

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Tiretread.jmp");
obj = dt << Profiler(
	Y(:Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS)
);
obj << Desirability Functions(1);

obj << (Pred Formula ABRASION << Response Limits(
	{Lower(100, 1), Middle(150, 1), Upper(200, 1), Goal("None"),
	Importance(0.25)}
));
-Jarmo
RMSEBird223
Level II

Re: Is it possible to fully automatize "obj << Set Desirabilities;"

Thanks for your prompt reply! This already helps, just one more question: Is there a way to only set the "Goal()" of "Response Limits()" as I don't want to change lower limit, upper limit etc.

jthi
Super User

Re: Is it possible to fully automatize "obj << Set Desirabilities;"

Did you try what would happen if you just dropped those? It might work but I'm not sure

obj << (Pred Formula ABRASION << Response Limits({Goal("None")}));
-Jarmo