Comments (3)
Ah, sorry. I was still on finetune 0.2.0. Getting the new version sorted it out, thanks!
from finetune.
Hello @Jeffrothschild, I'm not able to reproduce this error with CRAN versions of this package. Can you run the following reprex and let me know what happens?
library(finetune)
library(parsnip)
library(rsample)
library(dials)
library(discrim)
packageVersion("parsnip")
#> [1] '1.0.2'
packageVersion("tune")
#> [1] '1.0.1'
packageVersion("finetune")
#> [1] '1.0.1'
data(two_class_dat, package = "modeldata")
set.seed(6376)
rs <- bootstraps(two_class_dat, times = 10)
# optimize an regularized discriminant analysis model
rda_spec <-
discrim_regularized(frac_common_cov = tune(), frac_identity = tune()) %>%
set_engine("klaR")
ctrl <- control_race(verbose_elim = TRUE)
set.seed(11)
grid_anova <-
rda_spec %>%
tune_race_anova(Class ~ ., resamples = rs, grid = 10, control = ctrl)
#> ℹ Racing will maximize the roc_auc metric.
#> ℹ Resamples are analyzed in a random order.
#> ℹ Bootstrap05: All but one parameter combination were eliminated.
# Shows only the fully resampled parameters
show_best(grid_anova, metric = "roc_auc", n = 2)
#> # A tibble: 1 × 8
#> frac_common_cov frac_identity .metric .estimator mean n std_err .config
#> <dbl> <dbl> <chr> <chr> <dbl> <int> <dbl> <chr>
#> 1 0.0691 0.0437 roc_auc binary 0.886 10 0.00513 Preproce…
plot_race(grid_anova)
from finetune.
This issue 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.
from finetune.
Related Issues (20)
- Show resample progress in finetune HOT 3
- Problem with running the example of "Screening many models" HOT 15
- Overly strict test + workflows `pull_*()` soft deprecation HOT 2
- Release finetune 0.1.0 HOT 1
- Move `master` branch to `main` HOT 2
- XGBoost Error with Racing Method: There were no valid metrics for the ANOVA model. HOT 3
- logged... HOT 2
- Release finetune 0.1.1 HOT 1
- `tune_race_anova()` not handling very similar metrics well? HOT 2
- Upkeep for finetune HOT 1
- Release finetune 0.2.0 HOT 1
- Errors with `mtry` parameter. HOT 8
- tune_sim_anneal not using event_level = "second" in control? HOT 3
- Release finetune 1.0.0 HOT 1
- separate verbose options HOT 1
- Object control_race cannot be coerced to control_grid HOT 5
- Release finetune 1.0.1 HOT 1
- constant `.config` column in `collect_predictions` output with simulated annealing HOT 1
- Interaction between `initial` and `param_info` args for `tune_sim_anneal()`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finetune.