Skip to content

Commit

Permalink
fix: default prediction type should not be 'distr' but crank for pipe…
Browse files Browse the repository at this point in the history
…lines
  • Loading branch information
bblodfon committed Feb 10, 2024
1 parent 12bbc61 commit 7f584e6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/pipelines.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ pipeline_survaverager = function(learners, param_vals = list(), graph_learner =

if (graph_learner) {
gr = mlr3pipelines::GraphLearner$new(gr)
gr$predict_type = "distr"
}

gr
Expand Down Expand Up @@ -98,7 +97,6 @@ pipeline_survbagging = function(learner, iterations = 10, frac = 0.7, avg = TRUE

if (graph_learner) {
gr = mlr3pipelines::GraphLearner$new(gr)
gr$predict_type = "distr"
}

gr
Expand Down Expand Up @@ -159,7 +157,6 @@ pipeline_crankcompositor = function(learner,

if (graph_learner) {
gr = mlr3pipelines::GraphLearner$new(gr)
gr$predict_type = "distr"
}

gr
Expand Down

0 comments on commit 7f584e6

Please sign in to comment.