google-research / text-to-text-transfer-transformer

Code for the paper "Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer"
https://arxiv.org/abs/1910.10683
Apache License 2.0
6.13k stars 753 forks source link

Add support for micro and macro f1 metrics for multilabel classification. #1112

Open copybara-service[bot] opened 12 months ago

copybara-service[bot] commented 12 months ago

Add support for micro and macro f1 metrics for multilabel classification.

Adds supports for micro and macro f1 metrics computations for multilabel classification. Also replaces assertContainsSubset in tests with a functional version that checks equality of asserted values.

google-cla[bot] commented 12 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.