Skip to content

test.join aggregation does not join probabilities #625

Description

@berndbischl
task = sonar.task
lrn = makeLearner("classif.rpart", predict.type = "prob")

rin = makeResampleDesc("Holdout")
mm = setAggregation(auc, test.join)
r = resample(lrn, task, rin, measures = mm)

This leads to
Error in getPredictionProbabilities(pred, cl = levs) :
Trying to get probabilities for nonexistant classes: M,R

It is also obvious from the source code.
NB: we have potentially more columns we need to join like se and the stuff from survival...

@mllg as you pushed this some time ago

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions