Open saeedizadi opened 7 years ago
One of widely-used metrics for evaluationg the results of a segmentation task
Do you have some references at hand?
Adding this accuracy metric to the objectives (just like binary_accuracy) can be so helpful.
I'd be fine with this. Feel free to submit a PR. There are some things to consider:
minimum(A, B).sum() / maximum(A, B).sum()
. This would even be differentiable. Probably there's literature for that as well.categorical_accuracy
.jaccard_index()
(jaccard_similarity_coefficient()
is a bit long for my taste) or jaccard_distance()
. Depends on whether we advertise this as a loss function or evaluation measure.
One of widely-used metrics for evaluationg the results of a segmentation task is the Jaccard_similarity_coefficients. It is as simple as diving the intersection region over the union region between two binary maps.
Adding this accuracy metric to the objectives (just like binary_accuracy) can be so helpful. For more information, please see this Wikipedia page: https://en.wikipedia.org/wiki/Jaccard_index