| OptPath {ParamHelpers} | R Documentation |
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:
ParamSet]See argument of same name.
character]See argument of same name.
logical]See argument of same name.
logical(1)]See argument of same name.
environment]Environment which stores the optimization path. Contents depend on implementation.
makeOptPathDF(par.set, y.names, minimize, add.transformed.x = FALSE, include.error.message = FALSE, include.exec.time = FALSE, include.extra = FALSE)
par.set |
[ |
y.names |
[ |
minimize |
[ |
add.transformed.x |
[ |
include.error.message |
[ |
include.exec.time |
[ |
include.extra |
[ |
Other optpath: addOptPathEl,
getOptPathBestIndex,
getOptPathCols,
getOptPathCol, getOptPathDOB,
getOptPathEOL, getOptPathEl,
getOptPathErrorMessages,
getOptPathExecTimes,
getOptPathLength,
getOptPathParetoFront,
getOptPathX, getOptPathY,
setOptPathElDOB,
setOptPathElEOL