Convert regular functional features (e.g. all individuals are observed at the same time-points) to new columns, one for each input value to the function.
Parameters
The parameters are the parameters inherited from PipeOpTaskPreprocSimple
.
Naming
The new names generally append a _1
, ..., to the corresponding column name.
However this can lead to name clashes with existing columns.
This is solved as follows:
If a column was called "x"
and the feature is "mean"
, the corresponding new column will
be called "x_mean"
. In case of duplicates, unique names are obtained using make.unique()
and
a warning is given.
Super classes
mlr3pipelines::PipeOp
-> mlr3pipelines::PipeOpTaskPreproc
-> mlr3pipelines::PipeOpTaskPreprocSimple
-> PipeOpFDAFlatten
Methods
Method new()
Initializes a new instance of this Class.
Usage
PipeOpFDAFlatten$new(id = "fda.flatten", param_vals = list())
Arguments
id
(
character(1)
)
Identifier of resulting object, default"fda.flatten"
.param_vals
(named
list
)
List of hyperparameter settings, overwriting the hyperparameter settings that would otherwise be set during construction. Defaultlist()
.