dear all
I want to do multiple data table files with the same code for the decision tree operation, and each file has three different Y response decision trees.
Set the Y response of each file in the first 3 columns of the table, and the number of X factor column starting from column 4 is different for each file.
The specific practice of making three decision trees for each file is: the first time is carried out with the Y response of column 1;The second time was done with the Y response of column 2;The third time is done with the Y response of column 3.
The X factor used each time starts with column 5 and ends with column 2.The second X factor to the second X factor.
How to code this decision tree code so that the same code can perform operations in different files.
In the annex, Boston Housing.jmp adds 2 columns to the Y response so that 3 columns of the Y response are available and moved to the first 3 columns of the table.
It's complicated, thank you very much!