pcshih / pytorch-FCSN

This is the implementation of FCSN
8 stars 5 forks source link

In the eval_tool.py, why add 1e-8 when calculating precision and recall? #4

Open Pager07 opened 4 years ago

pcshih commented 4 years ago

To prevent whether precision or recall is zero. You can use tool like scikit-learn to calculate precision, recall or f1-score.