Spark Online Training by Edureka

prepare: Prepare the data for the specified test.

Description Usage Arguments Value Methods (by class)

Description

This allows for different implementations for regression or classification

Usage

1
2
3
4
prepare(test, ...)

## Default S3 method:
prepare(test, ...)

Arguments

test

The test for which data is prepared

...

Extra arguments to prepare

Value

data A list containing prepared train (data$train) and holdout (data$holdout) data frames. Extra method specific preparation is executed through a call to method_prepare

Methods (by class)

  • default: The default method relevels the holdout set, so the holdout and train set are completely independent, and to prevent problems with certain algorithms that can't deal with different factor levels across train and holdout set



Search within the crtests package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.