Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

encode_unit

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


Description

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

Usage

encode_unit(x, value, direction, ...)

Arguments

x

A param object.

value

The original values should be either numeric or character. When converting back, these should be on [0, 1].

direction

Either "forward" (to [0, 1]) or "backward".

original

A logical; should the values be transformed into their natural units (not currently working).

Details

For integer parameters, the encoding can be lossy.

Value

A vector of values.


dials

Tools for Creating Tuning Parameter Values

v0.0.10
MIT + file LICENSE
Authors
Max Kuhn [aut], Hannah Frick [aut, cre], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.