Description Usage Arguments Value Examples
training.partitions Split data into training and validation sets
1 | training.partitions(data.train, p = 0.2)
|
data.train |
a data frame or matrix of training data to split |
p |
portion of data for validation |
data.train and data.validation
1 2 3 | train <- remove.extra.cols(news_popularity_training)
test <- news_popularity_test
partitions <- training.paritions(train, p = 0.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.