If the heuristic in GraphLearner cannot determine the predict_type, it defaults to all available predict types stored in mlr_reflections for the first predict type setting. In mlr3proba this leads to predict_type being a character(4) instead of character(1) which leads to further problems down the line.
If the heuristic in
GraphLearner
cannot determine thepredict_type
, it defaults to all available predict types stored inmlr_reflections
for the first predict type setting. Inmlr3proba
this leads topredict_type
being acharacter(4)
instead ofcharacter(1)
which leads to further problems down the line.This PR fixes this behavior, setting the
predict_type
to the first predict type setting.