View source: R/f_split_train_test.R
Train test splitting data
1 | f_split_train_test(data, split_pct = 0.8)
|
data |
data |
split_pct |
split percent. A number between 0 and 1. Default is a 80-20 split. An out of sample period is provided as well, so data is split into 80 training/test and 20 out of sample. The 80 training/tet is split into 80-20 training and 20 test |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.