Nothing
Code
predict(wf, df)
Condition
Error in `validate_column_names()`:
! The following required columns are missing: 'w'.
Code
predict(wf, df)
Condition
Error in `validate_column_names()`:
! The following required columns are missing: 'w'.
Code
fit(wf, df)
Condition
Error in `fit()`:
! No columns with a `"case_weights"` role exist in the data after processing the recipe.
i Did you remove or modify the case weights while processing the recipe?
Code
fit(wf, df)
Condition
Error in `fit()`:
! The column with a recipes role of `"case_weights"` must be a classed case weights column, as determined by `hardhat::is_case_weights()`.
i Did you modify the case weights while processing the recipe?
Code
fit(wf, df)
Condition
Error in `fit()`:
! Can't subset columns that don't exist.
x Column `w` doesn't exist.
col
can't select >1 columns in data
Code
fit(wf, mtcars)
Condition
Error in `fit()`:
! `col` must specify exactly one column from `data` to extract case weights from.
Code
fit(wf, df)
Condition
Error in `fit()`:
! `col` must select a classed case weights column, as determined by `hardhat::is_case_weights()`. For example, it could be a column created by `hardhat::frequency_weights()` or `hardhat::importance_weights()`.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.