preprocessed: Get preprocessed data from Preprocessor.
Description
Returns the preprocessed data from a Preprocessor object.
Usage
preprocessed(x)
Value
The preprocessed data, as a data.frame, data.table, or tibble,
matching the data passed to preprocess(). When validation or test data were
also preprocessed, a named list with elements training, validation, and
test, as supplied.
Arguments
x
Preprocessor: A Preprocessor object.
Author
EDG
Details
A data.table is returned as a copy made with data.table::copy(), so
modifying the result by reference, with := or set(), leaves x
unchanged.