MLwrapper: Applies ML algorithms to partitioned data

Description Usage Arguments

View source: R/MLwrapper.R

Description

This function applies ML algorithms to 'MLinput' object

Usage

1
2
MLwrapper(data_object, methods, scale_and_center = FALSE,
  single_source = NULL)

Arguments

data_object

object of class 'MLinput' a list of two data frames containing train and test rows to subset in x_data and y_data

methods

a vector of strings specifying which ML algorithm you want to implement? options: 'bglr', 'clogit'. The length of this vector must be equal to the number of data sources in data_object

single_source

is a character string identifying which data source (when there is more than 1 data source in data_object) to apply ML to. Defaults to NULL


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