netrack / keras-metrics

Metrics for Keras. DEPRECATED since Keras 2.3.0
MIT License
165 stars 23 forks source link

Add Average Recall Metric #34

Closed YiqinZhao closed 5 years ago

YiqinZhao commented 5 years ago

Hi @ybubnov , sorry for the late, I am quite busy these days on my graduation project. I have added the average recall metric and unit test code. Would you like to have a look at it?

Also, I really curious about the line 65 of tests/test_metrics.py, why don't you use a Dense layer with softmax activation for classification? The outputs are really different.

By the way, I could also add support for average precision metric. Although I don't know what kind of problems should it be used.

ybubnov commented 5 years ago

Hi @HawkinsZhao, thank you very much for this PR, highly appreciate this! Sorry for the late response.

YiqinZhao commented 5 years ago

Added. Feel free to merge.