cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
0 Kudos

Add Profiler JSL message "<<get response values"

Right now there is a way to get the current factor settings from a profiler, but there is no native way to get the current response values from the profiler. Instead, we have to scrape them from the display tree of the profiler which could be brittle across JMP releases.

 

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 ),
	Desirability Functions( 1 )
);
obj << Get Factor Settings;
3 Comments
SarahGilyard
Staff
Status changed to: Acknowledged

Thanks for posting this suggestion to improve the profiler, andrewtkarl. We've added this suggestion to our list for future profiler improvements. 

SarahGilyard
Staff
Status changed to: Delivered

The << Get Responses  option is already available. See below. Thank you for posting! 

 

dt = Open( "$SAMPLE_DATA/Tiretread.jmp" );
obj = dt << Profiler(
        Y( :Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG, :Pred Formula HARDNESS ),
        Desirability Functions( 1 )
);
show(obj << Get Factor Settings);
show(obj<<Get Responses);
//obj << Get Responses = [139.119238722661, 1261.13313805181, 400.384575393755, 68.9096152062604];

andrewtkarl
Level IV

Thank you, Sarah. Is there also a way to get a list of the response names that those value can be paired with? I think I was having to loop over the display tree to extract those.