[SciPy-dev] Hello, patch submmited, user to log in trac

Antonio Arauzo Azofra arauzo at decsai.ugr.es
Thu Apr 20 05:57:34 CDT 2006


Robert Kern wrote:
> Thank you! Can you provide some test data that we could incorporate into our
> unit tests?

Yes, the following data, according to:

Janez Demsar "Statistical Comparisons of Classifiers over Multiple Data
Sets". Journal of Machine Learning Research, v7, pages 1-30, 2006.

scipy.stats.friedmanchisquare(scipy.array([0.763, 0.599, 0.954, 0.628, 
0.882, 0.936, 0.661, 0.583, 0.775, 1.0, 0.94, 0.619, 0.972, 0.957]), 
scipy.array([0.768, 0.591,0.971,0.661,0.888, 0.931, 0.668, 0.583, 0.838, 
1.0, 0.962, 0.666, 0.981, 0.978]), scipy.array([0.771, 0.590, 0.968, 
0.654, 0.886, 0.916, 0.609, 0.563, 0.866, 1.0, 0.965, 0.614, 0.9751, 
0.946]), scipy.array([0.798, 0.569, 0.967, 0.657, 0.898, 0.931, 0.685, 
0.625, 0.875, 1.0, 0.962, 0.669, 0.975, 0.970]))

should give a statistic value around 9.28 (there is low precision as the 
result is given on a derived test). This article ignores ties. If ties 
are handled the result should be equal or greater.

I am not sure how to incorporate this in the tests code.

I'll prepare the patch for tie handling in friedman soon. Also I have 
programed a Friedman derived test by Iman and Davenport, not sure if it 
is interesting to include it.

>>Can you create a user for me in trac? I hope I can help developing in 
>>future.
> I'm looking into allowing users to register themselves. At the moment, I think
> the user list is tied to SVN write access. OTOH, if you keep the quality patches
> coming, I'm sure we'll give you that, too.

Ok.

-- 
Saludos,
   Antonio Arauzo Azofra




More information about the Scipy-dev mailing list