insight icon indicating copy to clipboard operation
insight copied to clipboard

Support for "earth" models

Open mdancho84 opened this issue 4 years ago • 1 comments
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)

mdancho84 avatar Jul 13 '21 10:07 mdancho84

In your example, a model of class earth is fit, which is not yet supported. I'm moving this issue to the relevant repository.

strengejacke avatar Jul 14 '21 08:07 strengejacke