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:

devtools::install_github("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

24,893

Version

0.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Hannah Frick

Last Published

April 6th, 2022

Functions in dials (0.1.1)

all_neighbors

Parameter to determine which neighbors to use
cost

Support vector machine parameters
class_weights

Parameters for class weights for imbalanced problems
confidence_factor

Parameters for possible engine parameters for C5.0
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
conditional_min_criterion

Parameters for possible engine parameters for party models
extrapolation

Parameters for possible engine parameters for Cubist
Laplace

Laplace correction parameter
activation

Activation functions between network layers
freq_cut

Near-zero variance parameters
learn_rate

Learning rate
num_breaks

Number of cut-points for binning
finalize

Functions to finalize data-specific parameter ranges
new-param

Tools for creating new parameter objects
grid_regular

Create grids of tuning parameters
encode_unit

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

Number of randomly sampled predictors
dist_power

Minkowski distance parameter
dials-package

dials: Tools for working with tuning parameters
deg_free

Degrees of freedom (integer)
degree

Parameters for exponents
reexports

Objects exported from other packages
threshold

General thresholding parameter
rbf_sigma

Kernel parameters
num_hash

Text hashing parameters
max_times

Word frequencies for removal
num_tokens

Parameter to determine number of tokens in ngram
over_ratio

Parameters for class-imbalance sampling
max_tokens

Maximum number of retained tokens
range_validate

Tools for working with parameter ranges
neighbors

Number of neighbors
predictor_prop

Proportion of predictors
penalty

Amount of regularization/penalization
regularization_method

Estimation methods for regularized models
mixture

Mixture of penalization terms
update.parameters

Update a single parameter in a parameter set
window_size

Parameter for the moving window size
token

Token types
trees

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

Parameters for possible engine parameters for xgboost
select_features

Parameter to enable feature selection
regularization_factor

Parameters for possible engine parameters for ranger
max_num_terms

Parameters for possible engine parameters for earth models
dropout

Neural network parameters
num_comp

Number of new features
grid_max_entropy

Space-filling parameter grids
parameters

Information on tuning parameters within an object
momentum

Gradient descent momentum parameter
parameters_constr

Construct a new parameter set object
num_knots

Number of knots (integer)
pull_dials_object

Return a dials parameter object associated with parameters
min_dist

Parameter for the effective minimum distance between embedded points
min_unique

Number of unique values for pre-processing
stop_iter

Early stopping parameter
summary_stat

Rolling summary statistic for moving windows
value_validate

Tools for working with parameter values
unknown

Placeholder for unknown parameter values
type_sum.param

Succinct summary of parameter objects
weight

Parameter for "double normalization" when creating token counts
survival_link

Survival Model Link Function
vocabulary_size

Number of tokens in vocabulary
smoothness

Kernel Smoothness
shrinkage_correlation

Parameters for possible engine parameters for sda models
prior_slab_dispersion

Bayesian PCA parameters
surv_dist

Parametric distributions for censored data
prune_method

MARS pruning methods
max_nodes

Parameters for possible engine parameters for randomForest
weight_func

Kernel functions for distance weighting
weight_scheme

Term frequency weighting methods