Re: [R] Caret and custom summary function

2015-05-11 Thread Max Kuhn
The version of caret just put on CRAN has a function called mnLogLoss that does this. Max On Mon, May 11, 2015 at 11:17 AM, Lorenzo Isella wrote: > Dear All, > I am trying to implement my own metric (a log loss metric) for a > binary classification problem in Caret. > I must be making some mist

[R] Caret and custom summary function

2015-05-11 Thread Lorenzo Isella
Dear All, I am trying to implement my own metric (a log loss metric) for a binary classification problem in Caret. I must be making some mistake, because I cannot get anything sensible out of it. I paste below a numerical example which should run in more or less one minute on any laptop. When I ru