Fitting XY Target
tar_fit_xy( object, x, y, control = parsnip::control_parsnip(), ..., tar_args = list() )
object | An object of class |
---|---|
x | A matrix, sparse matrix, or data frame of predictors. Only some
models have support for sparse matrix input. See |
y | A vector, matrix or data frame of outcome data. |
control | A named list with elements |
... | Not currently used; values passed here will be
ignored. Other options required to fit the model should be
passed using |
tar_args | Arguments passed to |
A tar_target
object.