Learn R Programming

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

ParamHelpers (version 1.3)

Helpers for parameters in black-box optimization, tuning and machine learning.

Description

A small package containing useful functions for parameter descriptions and operations in black-box optimization, tuning and machine learning.

Copy Link

Version

Install

install.packages('ParamHelpers')

Monthly Downloads

70,057

Version

1.3

License

BSD_3_clause + file LICENSE

Maintainer

Bernd Bischl

Last Published

July 15th, 2014

Functions in ParamHelpers (1.3)

Param

Create a description object for a parameter.
addOptPathEl

Add a new element to an optimization path.
getOptPathY

Get y-vector or y-matrix from the optimization path.
hasTrafo

Check parameter / parameter set for trafos.
getOptPathLength

Get the length of the optimization path.
dfRowsToList

Convert a data.frame row to list of parameter-value-lists.
repairPoint

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

Returns type information for a parameter set.
LearnerParam

Create a description object for a parameter of a machine learning algorithm.
setOptPathElDOB

Set the dates of birth of parameter values, in-place.
generateDesign

Generates a statistical design for a parameter set.
generateGridDesign

Generates a grid design for a parameter set.
getOptPathCol

Get column from the optimization path.
sampleValues

Dependent parameters whose requirements are not satisfied are represented by a scalar NA in the output.
getOptPathEOL

Get end-of-life vector from the optimization path.
hasFiniteBoxConstraints

Checks if a parameter or each parameter of a parameter set has ONLY finite lower and upper bounds.
getOptPathExecTimes

Get exec-time vector from the optimization path.
hasForbidden

Check parameter set for forbidden region.
getOptPathParetoFront

Get indices of pareto front of optimization path.
sampleValue

Dependent parameters whose requirements are not satisfied are represented by a scalar NA in the output.
getDefaults

Return defaults of parameters in parameter set.
getParamLengths

Return lengths of parameters in parameter set.
getOptPathCols

Get columns from the optimization path.
hasRequires

Check parameter / parameter set for requirements / dependencies.
getParamNr

Return number of parameters in set.
getParamTypeCounts

Returns information on the number of parameters of a each type.
makeParamSet

Construct a parameter set.
convertParamSetToIrace

Converts a ParamSet object to a parameter object of the irace package.
getLower

Get lower / upper bounds and allowed discrete values for parameters.
isFeasible

Check if parameter value is valid.
getOptPathBestIndex

Get index of the best element from optimization path.
paramValueToString

Convert a value to a string.
getOptPathEl

Get an element from the optimization path.
removeMissingValues

Removes all scalar NAs from a parameter setting list.
hasType

Check whether parameter set contains a certain type.
dropParams

Drop Params form ParamSet by ids.
extractParamSetFromSooFunction

Extracts ParamSet from soobench function.
as.data.frame.OptPathDF

Convert optimization path to data.frame.
getParamIds

Return ids of parameters in parameter set.
trafoOptPath

Transform optimization path.
discreteValueToName

Convert discrete value(s) to encoding name(s).
isForbidden

Check whether parameter setting lies in forbidden region of parameter set.
getOptPathDOB

Get date-of-birth vector from the optimization path.
discreteNameToValue

Convert encoding name(s) to discrete value(s).
makeOptPathDF

Create optimization path.
setOptPathElEOL

Set the end of life dates of parameter values, in-place.
isType

Check parameter / parameter set contain ONLY a certain type.
setValueCNames

Set components names for vector names
trafoValue

Transform a value.
filterParams

Get parameter subset of only certain parameters.
isEmpty

Check whether parameter set is empty.
getOptPathErrorMessages

Get error-message vector from the optimization path.