diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2020-05-25 14:27:39 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2020-05-25 14:27:39 +0100 |
| commit | 1709f406eddda318f39275a4d9f3838bdaa83496 (patch) | |
| tree | b6768d90b16565c6bab1886829cf78e6fe8f44e0 /analysis/output/summaries/summary_uk_coal_employ.json | |
| parent | Add the "zero" method (diff) | |
| download | TCPDBench-1709f406eddda318f39275a4d9f3838bdaa83496.tar.gz TCPDBench-1709f406eddda318f39275a4d9f3838bdaa83496.zip | |
Correct calculation of F measure
This commit corrects an error in the calculation of the
F measure and updates the results accordingly. As a precaution,
doctests are added to each of the functions in the metrics.py
file.
Diffstat (limited to 'analysis/output/summaries/summary_uk_coal_employ.json')
| -rw-r--r-- | analysis/output/summaries/summary_uk_coal_employ.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/analysis/output/summaries/summary_uk_coal_employ.json b/analysis/output/summaries/summary_uk_coal_employ.json index 73e0c0bc..6c42a642 100644 --- a/analysis/output/summaries/summary_uk_coal_employ.json +++ b/analysis/output/summaries/summary_uk_coal_employ.json @@ -10827,8 +10827,8 @@ 79 ], "scores": { - "f1": 0.3310901749663527, - "precision": 0.23076923076923078, + "f1": 0.40344403444034443, + "precision": 0.3076923076923077, "recall": 0.5857142857142857, "cover": 0.4571585785311275 }, @@ -10852,8 +10852,8 @@ 80 ], "scores": { - "f1": 0.5512820512820513, - "precision": 0.5, + "f1": 0.6394052044609666, + "precision": 0.6666666666666666, "recall": 0.6142857142857143, "cover": 0.4809133767087081 }, @@ -15849,8 +15849,8 @@ 80 ], "scores": { - "f1": 0.5512820512820513, - "precision": 0.5, + "f1": 0.6394052044609666, + "precision": 0.6666666666666666, "recall": 0.6142857142857143, "cover": 0.4809133767087081 }, |
