Skip to content

Support for "earth" models #399

@mdancho84

Description

@mdancho84

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement 💥Implemented features can be improved or revisedNew models 👽Suggestion for supporting new models

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions