split_data | R Documentation |
A simple deterministic mechanism for splitting data into training, development, and test data based on the MD5 hash of a unused string parameters.
split_data(x, pTrain = 0.9, pDev = 0.09, pTest = 0.01)
x |
unused string data used to split the data |
pTrain |
approximate percent of the training split |
pDev |
approximate percent of the development split |
pTest |
approximate percent of the test split |
a vector of factors (Train,Dev,Test) denoting the data split
split_data(rownames(mtcars))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.