Closed
Description
System information
- TensorFlow version (you are using): 2.0
- TensorFlow Addons version: head
- Is it in the tf.contrib (if so, where): N/A
- Are you willing to contribute it (yes/no): @pavithrasv can if there are no community members who are interest
- Are you willing to maintain it going forward? (yes/no): yes
Describe the feature and the current behavior/state.
There is interest from the Keras team in having a core implementation of F1 score. We note that addons has that currently, so we would be looking to migrate the existing implementation to core for F1 score.
Will this change the current api? How?
tfa.metrics.f_scores.F1Score would move to tf.keras.metrics.F1Score: https://github.com/tensorflow/addons/blob/master/tensorflow_addons/metrics/f_scores.py#L255
If desired for backwards compatibility, tfa could link to these symbols from the current location, though my guess is that's more debt than necessary.
Any Other info.
@seanpmorgan -- thoughts?