Archive | R Documentation |
The 'Archive“ class stores all evaluated points and performance scores
The Archive
is an abstract class that implements the base functionality each archive must provide.
search_space
(paradox::ParamSet)
Specification of the search space for the Optimizer.
codomain
(Codomain)
Codomain of objective function.
start_time
(POSIXct)
Time stamp of when the optimization started.
The time is set by the Optimizer.
check_values
(logical(1)
)
Determines if points and results are checked for validity.
label
(character(1)
)
Label for this object.
Can be used in tables, plot and text output instead of the ID.
man
(character(1)
)
String in the format [pkg]::[topic]
pointing to a manual page for this object.
The referenced help package can be opened via method $help()
.
cols_x
(character()
)
Column names of search space parameters.
cols_y
(character()
)
Column names of codomain target parameters.
new()
Creates a new instance of this R6 class.
Archive$new( search_space, codomain, check_values = FALSE, label = NA_character_, man = NA_character_ )
search_space
(paradox::ParamSet)
Specifies the search space for the Optimizer. The paradox::ParamSet
describes either a subset of the domain
of the Objective or it describes
a set of parameters together with a trafo
function that transforms values
from the search space to values of the domain. Depending on the context, this
value defaults to the domain of the objective.
codomain
(paradox::ParamSet)
Specifies codomain of function.
Most importantly the tags of each output "Parameter" define whether it should
be minimized or maximized. The default is to minimize each component.
check_values
(logical(1)
)
Should x-values that are added to the archive be checked for validity?
Search space that is logged into archive.
label
(character(1)
)
Label for this object.
Can be used in tables, plot and text output instead of the ID.
man
(character(1)
)
String in the format [pkg]::[topic]
pointing to a manual page for this object.
The referenced help package can be opened via method $help()
.
format()
Helper for print outputs.
Archive$format(...)
...
(ignored).
print()
Printer.
Archive$print()
...
(ignored).
clear()
Clear all evaluation results from archive.
Archive$clear()
help()
Opens the corresponding help page referenced by field $man
.
Archive$help()
clone()
The objects of this class are cloneable with this method.
Archive$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.