-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
F2 Score metric for object detection. #393
Comments
Wouldn't it be better to just write a general FScore metric and change the beta values? |
great issue, we can add this. I agree with @quantumalaviya that we can have a general FScore and tune beta; though it may be a valuable issue to also offer a |
...I think this is like my previous comment as: class F1Score(FBetaScore): |
FBetaScore should be accept the sparsely defined labels. For example: # check for sparse labels
if tf.rank(y_true) < tf.rank(y_pred):
y_true = tf.one_hot(y_true, self.num_classes) |
@markub3327 Do you want to port the component and your PR on this repo? |
@bhack Yes, I can. |
@LukeWood Can you assign this to @markub3327 ? |
|
Yes and if you want also F2 with the related tests. |
@bhack Okey, let's do it. |
Pleaae note that, in |
@innat Or, it can be argument:
|
@markub3327 Check the thread at #371 (comment) |
@bhack Ok |
Any update on this? |
I think we should add F1 score to Keras, and keep F2 score to KerasCV? |
@tanzhenyu why don't we keep both f1 and f2 scores to keras itself? Won't it be a bit confusing to the user, if he needs to import the f1 metric from keras and f2 from keras-cv? Also, i would like to work/help on this PR if there is nobody working on it currently. |
closing as this most likely fits in keras core |
@LukeWood |
I do not have Keras ownership O_o. Can we re-open there with a link here? |
Co-authored-by: Haifeng Jin <[email protected]>
The F2-score was used to evaluate the performance in TensorFlow - Help Protect the Great Barrier Reef. It might be a good addition in keras-cv.
The text was updated successfully, but these errors were encountered: