Wrapper around PipeOpSurvAvg to simplify Graph creation.
Usage
pipeline_survaverager(learners, param_vals = list(), graph_learner = FALSE)
Arguments
- learners
(list())
List of LearnerSurvs to average.- param_vals
(list())
Parameters, including weights, to pass to PipeOpSurvAvg.- graph_learner
(
logical(1)
)
IfTRUE
returns wraps the Graph as a GraphLearner otherwise (default) returns as aGraph
.
Dictionary
This Graph can be instantiated via the dictionary mlr_graphs or with the associated sugar function ppl():