Code
wf_fit <- fit(wf_spec, hotel_data)
Condition
Error in `fit()`:
! Sparse data cannot be used with the formula interface. Please use `add_recipe()` or `add_variables()` instead.
Code
wf_fit <- fit(wf_spec, hotel_data)
Output
sparsevctrs: Sparse vector materialized
Code
wf_fit <- fit(wf_spec, hotel_data)
Condition
Error in `fit()`:
! Sparse data cannot be used with the formula interface. Please use `add_recipe()` or `add_variables()` instead.
Code
wf_fit <- fit(wf_spec, hotel_data)
Output
sparsevctrs: Sparse vector materialized
Code
fit(wf_spec, hotel_data)
Condition
Error in `fit()`:
! `x` must have column names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.