cross_validation_split | R Documentation |
cross_validation
splits a data set in partial sets, so-called folds, and creates a list of folds.
cross_validation_split(dataset, folds = 3L, shuffle = FALSE)
dataset |
A data set, usually a data frame. |
folds |
Number of created folds. |
shuffle |
Controls whether the samples of the data set should be randomly shuffled before fold creation.
For time series data, this argument must be set equal to |
A named list with folds.
Other Machine Learning:
decision_tree()
,
k_nearest_neighbors()
,
moving_average()
,
naive_bayes()
,
naive_forecast()
,
predict.decisiontree()
,
predict.kmeans()
,
predict.naivebayes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.