This model can utilize sparse data during model fitting and prediction. Both sparse matrices such as dgCMatrix from the Matrix package and sparse tibbles from the sparsevctrs package are supported. See [sparse_data] for more information.



tidymodels/parsnip documentation built on Feb. 19, 2025, 2:10 a.m.