This allows for different implementations for regression or classification
1 2 3 4
The test for which data is prepared
Extra arguments to prepare
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
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.