Comments (2)
Ah, I see. Thanks for the issue! The difference between those arguments has been obfuscated since 1.0.0. For the meantime before we get a fix out, you can still get that verbose_iter
output a la 1.0.0 by setting verbose = TRUE
as before:
library(parsnip)
library(rsample)
library(tune)
set.seed(42)
res <- tune_bayes(
nearest_neighbor("regression", neighbors = tune()),
mpg ~ .,
vfold_cv(mtcars, v = 3),
control = control_bayes(verbose = TRUE),
iter = 2, initial = 3
)
#>
#> ❯ Generating a set of 3 initial parameter results
#> ✓ Initialization complete
#>
#>
#> ── Iteration 1 ─────────────────────────────────────────────────────────────────
#>
#> i Current best: rmse=3.557 (@iter 0)
#> i Gaussian process model
#> ✓ Gaussian process model
#> i Generating 12 candidates
#> i Predicted candidates
#> i neighbors=12
#> i Estimating performance
#> i Fold1: preprocessor 1/1
#> ✓ Fold1: preprocessor 1/1
#> i Fold1: preprocessor 1/1, model 1/1
#> ✓ Fold1: preprocessor 1/1, model 1/1
#> i Fold1: preprocessor 1/1, model 1/1 (extracts)
#> i Fold1: preprocessor 1/1, model 1/1 (predictions)
#> i Fold2: preprocessor 1/1
#> ✓ Fold2: preprocessor 1/1
#> i Fold2: preprocessor 1/1, model 1/1
#> ✓ Fold2: preprocessor 1/1, model 1/1
#> i Fold2: preprocessor 1/1, model 1/1 (extracts)
#> i Fold2: preprocessor 1/1, model 1/1 (predictions)
#> i Fold3: preprocessor 1/1
#> ✓ Fold3: preprocessor 1/1
#> i Fold3: preprocessor 1/1, model 1/1
#> ✓ Fold3: preprocessor 1/1, model 1/1
#> i Fold3: preprocessor 1/1, model 1/1 (extracts)
#> i Fold3: preprocessor 1/1, model 1/1 (predictions)
#> ✓ Estimating performance
#> ⓧ Newest results: rmse=3.572 (+/-0.861)
#>
#> ── Iteration 2 ─────────────────────────────────────────────────────────────────
#>
#> i Current best: rmse=3.557 (@iter 0)
#> i Gaussian process model
#> ✓ Gaussian process model
#> i Generating 11 candidates
#> i Predicted candidates
#> i neighbors=9
#> i Estimating performance
#> i Fold1: preprocessor 1/1
#> ✓ Fold1: preprocessor 1/1
#> i Fold1: preprocessor 1/1, model 1/1
#> ✓ Fold1: preprocessor 1/1, model 1/1
#> i Fold1: preprocessor 1/1, model 1/1 (extracts)
#> i Fold1: preprocessor 1/1, model 1/1 (predictions)
#> i Fold2: preprocessor 1/1
#> ✓ Fold2: preprocessor 1/1
#> i Fold2: preprocessor 1/1, model 1/1
#> ✓ Fold2: preprocessor 1/1, model 1/1
#> i Fold2: preprocessor 1/1, model 1/1 (extracts)
#> i Fold2: preprocessor 1/1, model 1/1 (predictions)
#> i Fold3: preprocessor 1/1
#> ✓ Fold3: preprocessor 1/1
#> i Fold3: preprocessor 1/1, model 1/1
#> ✓ Fold3: preprocessor 1/1, model 1/1
#> i Fold3: preprocessor 1/1, model 1/1 (extracts)
#> i Fold3: preprocessor 1/1, model 1/1 (predictions)
#> ✓ Estimating performance
#> ⓧ Newest results: rmse=3.565 (+/-0.794)
Created on 2023-04-24 with reprex v2.0.2
The verbose_iter
output will just be mixed in with verbose
messages.
from tune.
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 tune.
Related Issues (20)
- remove unused `deprecate_msg()` helper HOT 1
- write out `dplyr_pre_1.0.0` helper HOT 1
- move forward with `parameters()` method deprecation HOT 1
- Option to run grid_tune() and other long-running tidymodels processes as a RStudio or Workbench Job
- helper for bridging causal fits
- `tune_grid()` fails if parameter is not marked as `tunable()` despite matching grid HOT 1
- Release tune 1.1.0 HOT 1
- `select_by_one_std_err` is choosing a *lower* penalty in glmnet lasso HOT 4
- `collect_predictions()` for `tune_bayes()` output lost an `.iter` column in v1.1.0 HOT 2
- Release tune 1.1.1 HOT 1
- snap failures with new parsnip HOT 2
- add support for multiple outcomes to grid_performance.R
- More guardrails for input to `last_fit()` HOT 1
- should `last_fit()` on a fitted workflow work? HOT 1
- `check_initial()` ought to use `condense_control()` HOT 1
- AUC can be calculated as less than 0.5 using fit_resamples HOT 2
- Could `get_rsplit()` add a method for `resample_results` from `tune::fit_resamples()`? HOT 1
- helper to provide minimal information for searches taking `initial` results HOT 1
- Censored last_fit(): ! One or more metric requires the specification of time points in the `eval_time` argument. HOT 6
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 tune.