preprocess_training function

preprocess_training

preprocess_training

Perform preprocessing for the training data, including converting data to dataframe, and encoding categorical data into numerical representation.

preprocess_training(x, y)

Arguments

  • x: A data frame of all training predictors.
  • y: A vector of all training responses.

Returns

A list of two datasets along with necessary information that encoding the preprocessing.

  • Maintainer: Theo Saarinen
  • License: GPL (>= 3) | file LICENSE
  • Last published: 2025-03-15