recipes version 0.1.14,
juice() is superseded in favor of
bake(object, new_data = NULL).
juice(object, ..., composition = "tibble")
Either "tibble", "matrix", "data.frame", or "dgCMatrix" for the format of the processed data set. Note that all computations during the baking process are done in a non-sparse format. Also, note that this argument should be called after any selectors and the selectors should only resolve to numeric columns (otherwise an error is thrown).
As steps are estimated by
prep, these operations are
applied to the training set. Rather than running
to duplicate this processing, this function will return
variables from the processed training set.
When preparing a recipe, if the training data set is
retain = TRUE, there is no need to
recipe to get the preprocessed training set.
juice() will return the results of a recipe where all steps
have been applied to the data, irrespective of the value of