ParamNode: Parameter Node Object

Description Usage Format Value Member Variables Methods Active Bindings See Also

Description

A R6Class to represent parameters.

Usage

1

Format

R6Class object

Value

[ParamNode].

Member Variables

id

[character]
Unique id.

storage_type

[character(1)]
How are values for this Parameter represented as an R object.

check

[function]
A function that returns TRUE for valid parameter values and a character if the value is not valid.

assert

[function]
A assert_ion generated by makeAssertionFunction from the check function.

test

[function]
A test generated by makeTestFunction from the check function.

tags

[character]
A vector of characters that indicate special properties of this Parameter.

Methods

sample(n)

[function]
Function to sample Parameter values. Always returns a data.table.

denorm(x)

[function]
Takes a named list. Each list item contains a numerical vector with values between [0,1]. These values will be mapped to values of the Parameter Space.

Active Bindings

has_finite_bounds

logical(1)
Does the Parameter have finite bounds.

See Also

Other ParamHelpers: ParamBase, ParamHandle


mlr-org/phng documentation built on Oct. 14, 2018, 2:05 p.m.