kboyd / Roc

Everything ROC and Precision-Recall curves.
BSD 2-Clause "Simplified" License
23 stars 7 forks source link

Tests of scale #19

Open afbarnard opened 10 years ago

afbarnard commented 10 years ago

Add basic tests of all pertinent API methods for datasets with 1M total examples in a separate file of unit tests of scale. There could be several large rankings to test including: perfectly correct, perfectly incorrect, all tied, all interleaved, and some pattern leading to a known ROC area. Pertinent methods would probably be those involving aggregates and not individual ranking thresholds, but certain of those thresholds could be checked.

afbarnard commented 10 years ago

@kboyd, how do your tests for the integer overflow bug (#15) jive with this?