Lasagne / Lasagne

Lightweight library to build and train neural networks in Theano
http://lasagne.readthedocs.org/
Other
3.84k stars 947 forks source link

Jacaard_similarity_accuracy to the objectives #816

Open saeedizadi opened 7 years ago

saeedizadi commented 7 years ago

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

f0k commented 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: