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%3EIst%20es%20m%C3%B6glich%2C%20%E2%80%9EObj%20%26lt%3B%26lt%3B%20Set%20Desirabilities%3B%E2%80%9C%20vollst%C3%A4ndig%20zu%20automatisieren%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762590%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHallo%20zusammen%2C%3C%2FP%3E%3CP%3Ewenn%20Sie%20den%20untenstehenden%20Code%20ausf%C3%BChren%20(der%20Code%20wird%20aus%20dem%20Skriptindex%20%C3%BCbernommen)%2C%20%C3%B6ffnet%20sich%20ein%20Fenster%2C%20in%20dem%20Sie%20manuell%20angeben%20k%C3%B6nnen%2C%20ob%20eine%20Antwort%20maximiert%20werden%20soll%2C%20keine%20sein%20soll%20usw.%20Ich%20habe%20mich%20gefragt%2C%20ob%20dieser%20manuelle%20Schritt%20vollst%C3%A4ndig%20per%20Skript%20ausgef%C3%BChrt%20werden%20kann%2C%20sodass%20%C3%BCberhaupt%20keine%20Benutzerinteraktion%20erforderlich%20ist%3F%3C%2FP%3E%3CP%3EVielen%20Dank%20f%C3%BCr%20Ihre%20Hilfe!%3CBR%20%2F%3E%3CBR%20%2F%3E%20Hinweis%3A%20Ich%20verwende%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%3EAutomatisierung%20und%20Skripting%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%3EBetreff%3A%20Ist%20es%20m%C3%B6glich%2C%20%E2%80%9EObj%20%26lt%3B%26lt%3B%20Set%20Desirabilities%3B%E2%80%9C%20vollst%C3%A4ndig%20zu%20automatisieren%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762604%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHast%20du%20versucht%2C%20was%20passieren%20w%C3%BCrde%2C%20wenn%20du%20die%20einfach%20fallen%20l%C3%A4sst%3F%20Es%20k%C3%B6nnte%20funktionieren%2C%20aber%20ich%20bin%20mir%20nicht%20sicher%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%3EBetreff%3A%20Ist%20es%20m%C3%B6glich%2C%20%E2%80%9EObj%20%26lt%3B%26lt%3B%20Set%20Desirabilities%3B%E2%80%9C%20vollst%C3%A4ndig%20zu%20automatisieren%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762596%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDanke%20f%C3%BCr%20Ihre%20schnelle%20Antwort!%20Das%20hilft%20schon%2C%20nur%20noch%20eine%20Frage%3A%20Gibt%20es%20eine%20M%C3%B6glichkeit%2C%20nur%20das%20%E2%80%9EZiel()%E2%80%9C%20von%20%E2%80%9EAntwortgrenzen()%E2%80%9C%20festzulegen%2C%20da%20ich%20Untergrenze%2C%20Obergrenze%20usw.%20nicht%20%C3%A4ndern%20m%C3%B6chte%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%3EBetreff%3A%20Ist%20es%20m%C3%B6glich%2C%20%E2%80%9EObjekt%20%26lt%3B%26lt%3B%20Desirabilities%20festlegen%E2%80%9C%20vollst%C3%A4ndig%20zu%20automatisieren%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-762594%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIch%20denke%2C%20Sie%20k%C3%B6nnen%20so%20etwas%20tun%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