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, 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 feature steps are allowed? Default are the default 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.1 Index]