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
%3CLINGO-SUB%20id%3D%22lingo-sub-762590%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%C2%BFEs%20posible%20automatizar%20completamente%20%22obj%20%26lt%3B%26lt%3B%20Set%20Desirabilities%3B%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762590%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHola%20a%20todos%2C%3C%2FP%3E%3CP%3Ecuando%20ejecuta%20el%20siguiente%20c%C3%B3digo%20(el%20c%C3%B3digo%20se%20toma%20del%20%C3%ADndice%20de%20secuencias%20de%20comandos)%2C%20se%20abre%20una%20ventana%20donde%20puede%20especificar%20manualmente%20si%20una%20respuesta%20se%20maximizar%C3%A1%2C%20no%20ser%C3%A1%20ninguna%2C%20etc.%20Me%20preguntaba%20si%20este%20paso%20manual%20se%20puede%20realizar%20completamente%20mediante%20secuencias%20de%20comandos%20de%20modo%20que%20no%20%C2%BFSe%20requiere%20alguna%20interacci%C3%B3n%20del%20usuario%3F%3C%2FP%3E%3CP%3E%C2%A1Gracias%20por%20tu%20ayuda!%3CBR%20%2F%3E%3CBR%20%2F%3E%20Nota%3A%20estoy%20usando%20JMP%2018.%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(%201%20)%3B%0Adt%20%3D%20Open(%20%22%24SAMPLE_DATA%2FTiretread.jmp%22%20)%3B%0Aobj%20%3D%20dt%20%26lt%3B%26lt%3B%20Profiler(%0A%09Y(%20%3APred%20Formula%20ABRASION%2C%20%3APred%20Formula%20MODULUS%2C%20%3APred%20Formula%20ELONG%2C%20%3APred%20Formula%20HARDNESS%20)%0A)%3B%0Aobj%20%26lt%3B%26lt%3B%20Desirability%20Functions(%201%20)%3B%0Aobj%20%26lt%3B%26lt%3B%20Set%20Desirabilities%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-762590%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAutomatizaci%C3%B3n%20y%20secuencias%20de%20comandos%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-762604%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%C2%BFEs%20posible%20automatizar%20completamente%20%22obj%20%26lt%3B%26lt%3B%20Establecer%20deseos%3B%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762604%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%C2%BFIntentaste%20lo%20que%20pasar%C3%ADa%20si%20los%20dejaras%20caer%3F%20Puede%20que%20funcione%20pero%20no%20estoy%20seguro%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3Eobj%20%26lt%3B%26lt%3B%20(Pred%20Formula%20ABRASION%20%26lt%3B%26lt%3B%20Response%20Limits(%7BGoal(%22None%22)%7D))%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-762596%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%C2%BFEs%20posible%20automatizar%20completamente%20%22obj%20%26lt%3B%26lt%3B%20Establecer%20deseos%3B%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762596%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%C2%A1Gracias%20por%20su%20pronta%20respuesta!%20Esto%20ya%20ayuda%2C%20solo%20una%20pregunta%20m%C3%A1s%3A%20%C2%BFHay%20alguna%20manera%20de%20establecer%20solo%20el%20%22Objetivo()%22%20de%20los%20%22L%C3%ADmites%20de%20respuesta()%22%20ya%20que%20no%20quiero%20cambiar%20el%20l%C3%ADmite%20inferior%2C%20el%20l%C3%ADmite%20superior%2C%20etc.%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-762594%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%C2%BFEs%20posible%20automatizar%20completamente%20%22obj%20%26lt%3B%26lt%3B%20Establecer%20deseos%3B%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762594%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECreo%20que%20puedes%20hacer%20algo%20como%20esto.%3C%2FP%3E%0A%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3ENames%20Default%20To%20Here(1)%3B%0Adt%20%3D%20Open(%22%24SAMPLE_DATA%2FTiretread.jmp%22)%3B%0Aobj%20%3D%20dt%20%26lt%3B%26lt%3B%20Profiler(%0A%09Y(%3APred%20Formula%20ABRASION%2C%20%3APred%20Formula%20MODULUS%2C%20%3APred%20Formula%20ELONG%2C%20%3APred%20Formula%20HARDNESS)%0A)%3B%0Aobj%20%26lt%3B%26lt%3B%20Desirability%20Functions(1)%3B%0A%0Aobj%20%26lt%3B%26lt%3B%20(Pred%20Formula%20ABRASION%20%26lt%3B%26lt%3B%20Response%20Limits(%0A%09%7BLower(100%2C%201)%2C%20Middle(150%2C%201)%2C%20Upper(200%2C%201)%2C%20Goal(%22None%22)%2C%0A%09Importance(0.25)%7D%0A))%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
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