dear all
Now I repeat the Decision Tree model with JMP at different "Minimum Size Split" levels.Every time I just change "Minimum Size Split", how do I write this loop code?Thank you very much!
Let B have 5 different levels:10,8,5,3,2; This will take five decision trees.
dt = Open( "$SAMPLE_DATA/Boston Housing.jmp" );
n={10,8,5,3,2};
for ??
Partition(
Y( :mvalue ),
X( :crim, :zn, :indus, :chas, :nox, :rooms, :age, :distance, :radial, :tax, :pt, :b, :lstat ),
Validation Portion( 0.3 ),
Minimum Size Split( n ),
Split Best( 1000 )
);
);
