| HTEFold | R Documentation |
R6 class to represent partitions of the data between training and held-out
R6 class to represent partitions of the data between training and held-out
This takes a set of folds calculated elsewhere and represents these folds in a consistent format.
trainA dataframe containing only the training set
holdoutA dataframe containing only the held-out data
in_holdoutA logical vector indicating if the initial data lies in the holdout set.
new()Creates an R6 object of the data split between training and test set.
HTEFold$new(data, split_id)
dataThe dataset to be split
split_idAn identifier indicating which data should lie in the holdout set.
Returns an object of class HTEFold
clone()The objects of this class are cloneable with this method.
HTEFold$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.