You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mamlr/man/preproc.Rd

27 lines
677 B

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preproc.R
\name{preproc}
\alias{preproc}
\title{Preprocess dfm data for use in modeling procedure}
\usage{
preproc(dfm_train, dfm_test = NULL, params, we_vectors)
}
\arguments{
\item{dfm_train}{Training dfm}
\item{dfm_test}{Testing dfm if applicable, otherwise NULL}
\item{params}{Row from grid with parameter optimization}
\item{we_vectors}{Matrix with word embedding vectors}
}
\value{
List with dfm_train and dfm_test, processed according to parameters in params
}
\description{
Process dfm according to parameters provided in params
}
\examples{
preproc(dfm_train, dfm_test = NULL, params)
}