The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.04 - 2002-09-18

  • A precision edge case has been changed. Now, if no categories were assigned, and some categories should have been assigned, the precision is returned as 0. Previous versions returned 1. This edge case isn't discussed in the literature I've seen. Note that with this change, the macro-precision will typically be reported as a lower number than before (but the micro-precision usually won't change). Recall and F1 aren't affected by this change (they're both still 0), nor are error and accuracy.
  • Tests have been added to ensure the above changes stick.

Modules

Calculate precision, recall, F1, accuracy, etc.