Closed xabriel closed 2 years ago
When classProbs=FALSE, prSummary() fails without letting the user know what to do.
classProbs=FALSE
prSummary()
This PR makes the prSummary() function fail similarly as twoClassSummary() when a user forgot to set classProbs=TRUE.
twoClassSummary()
classProbs=TRUE
@topepo just wanted to ping you in case you missed this PR. Let me know if it is helpful. Thanks.
Thanks for the contribution and waiting so long. I'll update from main and merge 👍
When
classProbs=FALSE
,prSummary()
fails without letting the user know what to do.This PR makes the
prSummary()
function fail similarly astwoClassSummary()
when a user forgot to setclassProbs=TRUE
.