Nothing
Code
tidypredict_fit(pm)
Condition
Error in `build_fit_formula_catboost_nested()`:
! Unsupported objective: "UnsupportedObjective".
i Supported objectives: "RMSE", "MAE", "Quantile", "MAPE", "Poisson", "Huber", "LogCosh", "Expectile", "Tweedie", "Logloss", "CrossEntropy", "MultiClass", and "MultiClassOneVsAll".
Code
tidypredict_fit(pm)
Condition
Error in `build_fit_formula_catboost_nested()`:
! Model has no trees.
Code
tidypredict_test(model)
Condition
Error in `catboost_model()`:
! CatBoost models require a matrix for predictions.
i Pass the prediction matrix via the `xg_df` argument.
Code
.extract_catboost_trees(lm(mpg ~ wt, data = mtcars))
Condition
Error in `.extract_catboost_trees()`:
! `model` must be <catboost.Model>, not a <lm> object.
Code
tidypredict_fit(pm)
Condition
Error in `build_fit_formula_catboost_multiclass_nested()`:
! Multiclass model must have num_class >= 2.
Code
set_catboost_categories("not a parsed model", model, data.frame())
Condition
Error in `set_catboost_categories()`:
! `parsed_model` must be a parsed CatBoost model.
Code
set_catboost_categories(pm, "not a model", data.frame())
Condition
Error in `set_catboost_categories()`:
! `model` must be a <catboost.Model>, not a string.
Code
set_catboost_categories(pm, model, wrong_data)
Condition
Error in `set_catboost_categories()`:
! Column "cat_feat" not found in `data`.
Code
set_catboost_categories(pm, model, wrong_data)
Condition
Error in `set_catboost_categories()`:
! Column "cat_feat" must be a factor.
Code
tidypredict_fit(pm)
Condition
Error in `map()`:
i In index: 1.
Caused by error in `build_nested_catboost_categorical()`:
! No category mapping found for hash -254607792.
i For raw CatBoost models, use `set_catboost_categories()`.
Code
tidypredict_fit(model_fit)
Condition
Error in `setup_catboost_parsnip_categories()`:
! Model has categorical features but no factor level information.
i Ensure the model was fit with factor columns, not character columns.
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.