tune2.0.1 package

Tidy Tuning Tools

augment.tune_results

Augment data with holdout predictions

autoplot.tune_results

Plot tuning search results

choose_metric

Tools for selecting metrics and evaluation times

collect_predictions

Obtain and format results produced by tuning functions

compute_metrics

Calculate and format metrics from tuning functions

conf_mat_resampled

Compute average confusion matrix across resamples

control_bayes

Control aspects of the Bayesian search process

control_grid

Control aspects of the grid search process

control_last_fit

Control aspects of the last fit process

coord_obs_pred

Use same scale for plots of observed vs predicted values

dot-stash_last_result

Save most recent results to search path

dot-use_case_weights_with_yardstick

Determine if case weights should be passed on to yardstick

empty_ellipses

Get colors for tune text.

expo_decay

Exponential decay function

extract-tune

Extract elements of tune objects

filter_parameters

Remove some tuning parameter results

finalize_model

Splice final parameters into objects

fit_best

Fit a model to the numerically optimal configuration

fit_resamples

Fit multiple models via resampling

get_metric_time

Get time for analysis of dynamic survival metrics

int_pctl.tune_results

Bootstrap confidence intervals for performance metrics

internal-parallel

Internal functions to help use parallel processing

last_fit

Fit the final best model to the training set and evaluate the test set

load_pkgs

Quietly load package namespace

merge.recipe

Merge parameter grid values into objects

message_wrap

Write a message that respects the line width

min_grid

Determine the minimum set of model fits

outcome_names

Determine names of the outcome data in a workflow

parallelism

Support for parallel processing in tune

prob_improve

Acquisition function for scoring parameter combinations

reexports

Objects exported from other packages

schedule_grid

Schedule a grid

show_best

Investigate best tuning parameters

show_notes

Display distinct errors from tune objects

tune_accessor

Various accessor functions

tune_bayes

Bayesian optimization of model parameters.

tune_grid

Model tuning via grid search

tune-internal-functions

Internal functions used by other tidymodels packages

The ability to tune models is important. 'tune' contains functions and classes to be used in conjunction with other 'tidymodels' packages for finding reasonable values of hyper-parameters in models, pre-processing methods, and post-processing steps.

  • Maintainer: Max Kuhn
  • License: MIT + file LICENSE
  • Last published: 2025-10-17