Skip to content

Fix doc pages for prediction type #1385

Description

@hfrick

Several doc pages for the available prediction types have a c+p error where the data frame fetched from the environment doesn't line up with the model/engine combination the doc page is for, e.g., here a bagged tree with C5.0 and mars.

parsnip:::get_from_env("bag_mars_predict") |>
dplyr::filter(engine == "C5.0") |>
dplyr::select(mode, type)

This then results in an empty tibble:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviordocumentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions