Happy Friday, all,
A JMP Pro evaluator asked me how to make models like Neural networks and Random Forests reproducible in JMP Pro. Because these methods use a random seed to establish starting conditions, it's not enough to save the script -- we need to specify a seed in the script, using the "set random seed" option, like this:
Partition(
Y( :chas ),
X( :crim, :zn, :indus, :mvalue, :nox, :rooms, :age, :distance, :radial ),
Validation( :TVT ),
Method( Bootstrap Forest ),
Portion Bootstrap( 1 ),
Number Terms( 2 ),
Number Trees( 12 ),
Set Random Seed (9876),
Go
);
A search in the Scripting Index shows a number of platforms that support this option -- Neural and Partition, among them.
I showed him how to set the seed, but the evaluator complained -- rightly so, I think -- that it should be easier to do this. There's no way to set the seed from the launch dialog, you can only save the script retrospectively and add the syntax to set a random seed. If you made a model using point-and-click, there's no way to repeat the analysis to get exactly the same results.
Does anybody have a solution or good workaround? The best I have so far is that you can issue the "Random Reset()" JSL function with a seed number before every point-and-click analysis, but this seems pretty unworkable.
Cheers,
Jordan