Randomly flags instances in order to be used as training(0) or testing(1) data with the ratio depending on variable gg.
percentage of instances to be used as training data for the classification.
an input data.frame where last instance must be the class instance and be named 'class'.
return original data with a flag column added at the end.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.