Container for results of hyperparameter tuning. Contains the obtained point in search space, its performance values and the optimization path which lead there.
Object members:
Learner that was optimized.
Control object from tuning.
Named list of hyperparameter values identified as optimal.
Note that when you have trafos on some of your params, x
will always be
on the TRANSFORMED scale so you directly use it.
Performance values for optimal x
.
Vector of finally found and used thresholds
if tune.threshold
was enabled in TuneControl, otherwise not present and
hence NULL
.
Optimization path which lead to x
.
Note that when you have trafos on some of your params, the opt.path always contains the
UNTRANSFORMED values on the original scale. You can simply call trafoOptPath(opt.path)
to
transform them, or, as.data.frame{trafoOptPath(opt.path)}
.
If mlr option on.error.dump
is TRUE
, OptPath
will have a .dump
object
in its extra
column which contains error dump traces from failed optimization evaluations.
It can be accessed by getOptPathEl(opt.path)$extra$.dump
.