cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

What is the correct k-fold operation in a decision tree module?

If the k-fold operation of decision tree module is carried out manually,
Is k-fold selected after segmentation?Or is k-fold selected and then segmented?

2021-11-05_153011.png
What exactly does k-fold mean?

 

Thanks !

1 ACCEPTED SOLUTION

Accepted Solutions

回复: What is the correct k-fold operation in a decision tree module?

The K-fold method of cross-validation in Partition is problematic. The command has been deprecated starting in JMP 16. It is still available by scripting, but the method is not recommended.

 

You should learn about the methods before you use them. K-fold is an economic approach to applying cross-validation with small data sets that might suffer training and validation if hold out sets are created.

View solution in original post

2 REPLIES 2
lala
Level IX

回复: What is the correct k-fold operation in a decision tree module?

  • The second result in the figure is the result of running the script in the example

  • dt = Open( "$SAMPLE_DATA/Car Poll.jmp" );
    obj = dt << Partition( Y( :country ), X( :sex, :marital status, :age, :type, :size ), Split Best( 2 ) );
    obj << K Fold Crossvalidation( 5 );
  • The script should perform the decision tree operation first and then the K-fold operation.

回复: What is the correct k-fold operation in a decision tree module?

The K-fold method of cross-validation in Partition is problematic. The command has been deprecated starting in JMP 16. It is still available by scripting, but the method is not recommended.

 

You should learn about the methods before you use them. K-fold is an economic approach to applying cross-validation with small data sets that might suffer training and validation if hold out sets are created.

Recommended Articles