Description Usage Arguments Value
Create a training and test set, stratfied by class
| 1 | strat_resamp(x, cls, p)
 | 
| x | a  | 
| cls | a vector of class information for stratifying. It is assumed that  | 
| p | a numeric value for the partitioning ratio (ie, 0.632) | 
a list of four elements
train_cls cls vector for training set
train_x training data
test_cls cls vector for test set
test_x test data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.