insight
insight copied to clipboard
Support for "earth" models
trafficstars
Getting this error when trying several tidymodels: MARS (shown), Random Forest, etc
Error in if (minfo$is_bayesian) { : argument is of length zero
Reproducible Example
# * MARS Regression ----
library(tidymodels)
library(tidyverse)
library(performance)
model_earth_tidy <- mars(mode = "regression") %>%
set_engine("earth") %>%
fit(hwy ~ displ + class, data = mpg)
check_model(model_earth_tidy)
#> Error in if (minfo$is_bayesian) {: argument is of length zero
Created on 2021-07-13 by the reprex package (v2.0.0)
In your example, a model of class earth is fit, which is not yet supported. I'm moving this issue to the relevant repository.