Nothing
score_apd_hat_values_numeric
fails when model has no pcs argumentCode
score_apd_hat_values_numeric(mtcars, mtcars)
Condition
Error in `score_apd_hat_values_numeric()`:
! The model must contain an XtX_inv argument.
score
fails when predictors only contain factorsCode
score(model, iris$Species)
Condition
Error in `hardhat::forge()`:
! The class of `new_data`, 'factor', is not recognized.
score
fails when predictors are vectorsCode
score(object)
Condition
Error in `score()`:
! `object` is not of a recognized type.
Only data.frame, matrix, recipe, and formula objects are allowed.
A data.frame was specified.
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.