preproc_data: Process the data according to a 'preProcess' object

Description Usage Arguments Value

View source: R/ml_data_transformation.R

Description

Process the data according to a preProcess object

Usage

1
preproc_data(raw_training_data, ppc, labels)

Arguments

raw_training_data

a data.frame of sanitized data

ppc

a preProcess object from get_ppc()

labels

character or factor the labels

Value

a named list with two elements: data a data.frame with the transformed data; labels the labels


hrvg/RiverML documentation built on Oct. 12, 2020, 10:40 a.m.