-
-
Notifications
You must be signed in to change notification settings - Fork 405
Open
Description
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