tidymodels / dials

Tools for creating tuning parameter values
https://dials.tidymodels.org/
Other
111 stars 26 forks source link

1D data frames with new_param_grid() #143

Closed topepo closed 4 years ago

topepo commented 4 years ago

A change in #139 induced an error since the addition of

x <- x[vec_unique_loc(x),]

fails when x is a data frame with one column.

DavisVaughan commented 4 years ago

You might also consider using vec_slice(x, vec_unique_loc(x)) instead

github-actions[bot] commented 3 years ago

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.