[pymvpa] ROC

Yaroslav Halchenko debian at onerussian.com
Thu Oct 2 02:58:14 UTC 2008


I committed and pushed some not-finished yet code... so you could
torture if you like, but first I want to bring your attention to the
following misfunction imho:


In [27]:AUCErrorFx()([0.5, 0.5], [0, 1])
Out[27]:1.0

In [28]:AUCErrorFx()([0.5, 0.5, 0.5, 0.5], [0, 1, 0, 1])
Out[28]:0.75

In [29]:AUCErrorFx()([0.5, 0.5, 0.5, 0.5, 0.5, 0.5], [0, 1, 0, 1, 0, 1])
Out[29]:0.666666666667

shouldn't in all of those cases we get 0.5?

I know that it is a boundary and artificial case, but!
So whoever is awake, he is welcome to join the coding ;)
-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list