| OptPath {ParamHelpers} | R Documentation |
Create optimization path.
Description
Optimizers can iteratively log their evaluated points into this
object. Can be converted into a data.frame with as.data.frame(x, discretes.as.factor = TRUE / FALSE).
A optimization path has a number of path elements, where each element
consists of: the value of the decision variables at this point, the values of
the performance measures at this point, the date-of-birth (dob) of this
point, the end-of-life (eol) of this point and possibly an error message. See
also addOptPathEl().
For discrete parameters always the name of the value is stored as a
character. When you retrieve an element with getOptPathEl(), this name is
converted to the actual discrete value.
If parameters have associated transformation you are free to decide whether
you want to add x values before or after transformation, see argument
add.transformed.x and trafoOptPath().
The S3 class is a list which stores at least these elements:
- par.set
ParamSet() See argument of same name.
- y.names
character See argument of same name.
- minimize
logical See argument of same name.
- add.transformed.x
logical(1) See argument of same name.
- env
environment Environment which stores the optimization path. Contents depend on implementation.
Usage
makeOptPathDF(
par.set,
y.names,
minimize,
add.transformed.x = FALSE,
include.error.message = FALSE,
include.exec.time = FALSE,
include.extra = FALSE
)
Arguments
par.set |
ParamSet |
y.names |
( |
minimize |
( |
add.transformed.x |
( |
include.error.message |
( |
include.exec.time |
( |
include.extra |
( |
See Also
Other optpath:
addOptPathEl(),
getOptPathBestIndex(),
getOptPathCols(),
getOptPathCol(),
getOptPathDOB(),
getOptPathEOL(),
getOptPathEl(),
getOptPathErrorMessages(),
getOptPathExecTimes(),
getOptPathLength(),
getOptPathParetoFront(),
getOptPathX(),
getOptPathY(),
setOptPathElDOB(),
setOptPathElEOL()