Public methods
Method new()
Creates a new instance of this R6 class.
Usage
TaskDens$new(id, backend, label = NA_character_)
Arguments
id(character(1))
Identifier for the new instance.
backend(DataBackend)
Either a DataBackend, a matrix-like object, or a numeric vector.
If weights are used then two columns expected, otherwise one column. The weight column
must be clearly specified (via [Task]$col_roles) or the learners will break.
label(character(1))
Label for the new instance.
Method clone()
The objects of this class are cloneable with this method.
Usage
TaskDens$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.