Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in test.join when predict.type = "prob" #1274

Closed
giuseppec opened this issue Oct 7, 2016 · 1 comment
Closed

bug in test.join when predict.type = "prob" #1274

giuseppec opened this issue Oct 7, 2016 · 1 comment

Comments

@giuseppec
Copy link
Contributor

giuseppec commented Oct 7, 2016

lrn = makeLearner("classif.rpart", predict.type = "prob")
measures = list(mmce, setAggregation(mmce, test.join))
res = resample(learner = lrn, task = bc.task, resampling = cv2, measures = measures)

Error:

Error in getPredictionProbabilities(pred, cl = levs) : 
  Trying to get probabilities for nonexistant classes: benign,malignant
@giuseppec
Copy link
Contributor Author

sorry, we already have this here #625

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant