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

repairPoint

Repairs values of numeric and integer parameters out side of constraints.


Description

Clips values outside of box constraints to bounds.

Usage

repairPoint(par.set, x, warn = FALSE)

Arguments

par.set

ParamSet
Parameter set.

x

list
List of parameter values. Must be in correct order. Values corresponding to non-numeric/integer types are left unchanged.

warn

(logical(1))
Boolean indicating whether a warning should be printed each time a value is repaired. Default is FALSE.

Value

list: List of repaired points.


ParamHelpers

Helpers for Parameters in Black-Box Optimization, Tuning and Machine Learning

v1.14
BSD_2_clause + file LICENSE
Authors
Bernd Bischl [aut] (<https://orcid.org/0000-0001-6002-6980>), Michel Lang [aut] (<https://orcid.org/0000-0001-9754-0393>), Jakob Richter [cre, aut] (<https://orcid.org/0000-0003-4481-5554>), Jakob Bossek [aut], Daniel Horn [aut], Karin Schork [ctb], Pascal Kerschke [aut]
Initial release

We don't support your browser anymore

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