Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Evaluation: Properly handle no-arg binary metrics for binary case #4802
Previously: Evaluation.f1(), .precision(), .recall() etc returned the macro-averaged values for the non-binary case. Macro-averaging makes sense for the multi-class case, but not the binary case.
Javadoc and stats() method now also make it clear exactly what is being reported for the binary vs. non-binary cases.