Function to partition training cases into folds for a given number of repetitions of cross validation Will typically be called within PartitionData, which is used in parameter tuning step.
number of training cases
number of folds for cross validation (must evenly divide number of training cases)
returns an array containing 1- indices of training cases 2- fold numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.