Basic R6
object for Settings object, a List that stores settings used
related to model training.
Public fields
name
The default name of this settings as character
.
modelid
A character
of the model id this belongs to.
data
A list
of contained settings.
Methods
Method new()
Initializes the object and creates an empty list
Print the names and properties of all Biodiversity datasets contained within
Returns
A message on screen
Method show()
Shows the name and the settings
Returns
A character
of the name and settings.
Number of options
Returns
A numeric
with the number of options.
Method duration()
Computation duration convenience function
Returns
The amount of time passed for model fitting if found.
Summary call of the contained parameters
Returns
A list
with the parameters in this object.
Get a specific setting
Arguments
what
A character
with the respective setting.
Returns
The setting if found in the object.
Method set()
Set new settings
Usage
Settings$set(what, x, copy = FALSE)
Arguments
what
A character
with the name for the new settings.
x
The new setting to be stored. Can be any object.
copy
logical
on whether a new settings object is to be created.
Returns
The setting if found in the object.
Method clone()
The objects of this class are cloneable with this method.
Usage
Settings$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.