dataPartitioning: Returns information on how to partition y_data

Description Usage Arguments

View source: R/dataPartitioning.R

Description

This function returns information on how to partition (randomly or paired) y_data importFrom magrittr "

Usage

1
2
dataPartitioning(data_object, partition_style = "random", folds = 4,
  repeats = 100, holdout_perc = 0.25)

Arguments

data_object

argument is the output produced by as.MLinput, which contains a single x data frame or a list of x data frames, a y data frames and attributes

partition_style

one of 'random' or 'paired' (character string) indicating type of partition

folds

integer of k for k-fold cross validation

repeats

integer of number of iterations to repeat cross validation

holdout_perc

numeric between 0 and 1 indicating the percentage of data to withold for the holdout validation set


pmartR/peppuR documentation built on Jan. 17, 2020, 12:54 p.m.