Learn R Programming

⚠️There's a newer version (1.3.0) of this package.Take me there.

dials

Overview

This package contains infrastructure to create and manage values of tuning parameters for the tidymodels packages. If you are looking for how to tune parameters in tidymodels, please look at the tune package and tidymodels.org.

The name reflects the idea that tuning predictive models can be like turning a set of dials on a complex machine under duress.

Installation

You can install the released version of dials from CRAN with:

install.packages("dials")

You can install the development version from Github with:

# install.packages("pak")
pak::pak("tidymodels/dials")

Contributing

Please note that the dials project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('dials')

Monthly Downloads

30,765

Version

1.2.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 22nd, 2024

Functions in dials (1.2.1)

grid_max_entropy

Space-filling parameter grids
freq_cut

Near-zero variance parameters
encode_unit

Class for converting parameter values back and forth to the unit range
min_dist

Parameter for the effective minimum distance between embedded points
deg_free

Degrees of freedom (integer)
degree

Parameters for exponents
max_tokens

Maximum number of retained tokens
min_unique

Number of unique values for pre-processing
mixture

Mixture of penalization terms
num_knots

Number of knots (integer)
num_runs

Number of Computation Runs
max_num_terms

Parameters for possible engine parameters for earth models
dropout

Neural network parameters
num_breaks

Number of cut-points for binning
new-param

Tools for creating new parameter objects
prior_slab_dispersion

Bayesian PCA parameters
prune_method

MARS pruning methods
num_tokens

Parameter to determine number of tokens in ngram
over_ratio

Parameters for class-imbalance sampling
grid_regular

Create grids of tuning parameters
max_nodes

Parameters for possible engine parameters for randomForest
neighbors

Number of neighbors
mtry_prop

Proportion of Randomly Selected Predictors
select_features

Parameter to enable feature selection
harmonic_frequency

Harmonic Frequency
pull_dials_object

Return a dials parameter object associated with parameters
shrinkage_correlation

Parameters for possible engine parameters for sda models
finalize

Functions to finalize data-specific parameter ranges
scheduler-param

Parameters for neural network learning rate schedulers These parameters are used for constructing neural network models.
regularization_method

Estimation methods for regularized models
range_validate

Tools for working with parameter ranges
momentum

Gradient descent momentum parameter
mtry

Number of randomly sampled predictors
initial_umap

Initialization method for UMAP
learn_rate

Learning rate
rbf_sigma

Kernel parameters
num_leaves

Possible engine parameters for lightbgm
reexports

Objects exported from other packages
weight_scheme

Term frequency weighting methods
weight_func

Kernel functions for distance weighting
weight

Parameter for "double normalization" when creating token counts
target_weight

Amount of supervision parameter
vocabulary_size

Number of tokens in vocabulary
survival_link

Survival Model Link Function
regularization_factor

Parameters for possible engine parameters for ranger
num_hash

Text hashing parameters
predictor_prop

Proportion of predictors
validation_set_prop

Proportion of data used for validation
token

Token types
trees

Parameter functions related to tree- and rule-based models.
penalty

Amount of regularization/penalization
max_times

Word frequencies for removal
num_comp

Number of new features
num_clusters

Number of Clusters
trim_amount

Amount of Trimming
type_sum.param

Succinct summary of parameter objects
value_validate

Tools for working with parameter values
threshold

General thresholding parameter
scale_pos_weight

Parameters for possible engine parameters for xgboost
window_size

Parameter for the moving window size
smoothness

Kernel Smoothness
parameters_constr

Construct a new parameter set object
parameters

Information on tuning parameters within an object
summary_stat

Rolling summary statistic for moving windows
unknown

Placeholder for unknown parameter values
stop_iter

Early stopping parameter
surv_dist

Parametric distributions for censored data
update.parameters

Update a single parameter in a parameter set
confidence_factor

Parameters for possible engine parameters for C5.0
Laplace

Laplace correction parameter
conditional_min_criterion

Parameters for possible engine parameters for partykit models
activation

Activation functions between network layers
dials-package

dials: Tools for working with tuning parameters
cost

Support vector machine parameters
all_neighbors

Parameter to determine which neighbors to use
extrapolation

Parameters for possible engine parameters for Cubist
class_weights

Parameters for class weights for imbalanced problems
dist_power

Minkowski distance parameter
bart-param

Parameters for BART models These parameters are used for constructing Bayesian adaptive regression tree (BART) models.
adjust_deg_free

Parameters to adjust effective degrees of freedom