Skip to content

Document when parameter ranges differ from dials default #725

Open
@EmilHvitfeldt

Description

@EmilHvitfeldt

Came up here: https://stackoverflow.com/questions/72222099/how-do-space-filling-parameter-grids-change-when-we-call-them-by-parsnip-and-rec

While it is possible to extract the parameter_set and inspect it, it would be nice if these modified ranges were also noted in the documentation e.i. in ?details_nearest_neighbor_kknn for the following example

library(tidymodels)

knn_spec <- nearest_neighbor(neighbors = tune())

neighbors()
#> # Nearest Neighbors (quantitative)
#> Range: [1, 10]
extract_parameter_set_dials(knn_spec)$object[[1]]
#> # Nearest Neighbors (quantitative)
#> Range: [1, 15]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions