Closed randel closed 8 years ago
You need to pass a custom summaryFunction
to trainControl
that calculates log loss.
By default, caret::train only computes accuracy.
Thanks for your help! For anyone interested, here is a workable function for log loss.
No problem, and thanks for the link!
With
train()
in thecaret
package, there is an optionmetric = "logLoss"
. But forcaretEnsemble
, using this option will always trigger the warning below. It seems that this option has been blocked? Any feedback would be really appreciated.The metric "logLoss" was not in the result set. ROC will be used instead.