convertToLlamaCVFolds {aslib} | R Documentation |
Convert an ASScenario scenario object to a llama data object with cross-validation folds.
Description
For features, mean values are computed across repetitions.
For algorithms, repetitions are not supported at the moment and will result in an error.
Usage
convertToLlamaCVFolds(
asscenario,
measure,
feature.steps,
algorithm.feature.steps,
cv.splits
)
Arguments
asscenario |
[ASScenario ]
Algorithm selection scenario.
|
measure |
[character(1) ]
Measure to use for modelling.
Default is first measure in scenario.
|
feature.steps |
[character ]
Which instance feature steps are allowed?
Default are the default instance feature steps or all steps
in case no defaults were defined.
|
algorithm.feature.steps |
[character ]
Which algorithm feature steps are allowed?
Default are the default algorithm feature steps or all steps
in case no defaults were defined.
|
cv.splits |
[data.frame ]
Data frame defining the split of the data into cross-validation folds,
as returned by createCVSplits .
Default are the splits asscenario$cv.splits
|
Value
Result of calling input
with data partitioned into folds.
[Package
aslib version 0.1.2
Index]