From f3b6797e3b4a2dd1be46d3c8c59b2d74d1a129bf Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 25 May 2020 13:47:18 +0100 Subject: Add the "zero" method This method always returns that a series contains no change points. --- .../output/summaries/summary_uk_coal_employ.json | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'analysis/output/summaries/summary_uk_coal_employ.json') diff --git a/analysis/output/summaries/summary_uk_coal_employ.json b/analysis/output/summaries/summary_uk_coal_employ.json index 84ea6e7c..73e0c0bc 100644 --- a/analysis/output/summaries/summary_uk_coal_employ.json +++ b/analysis/output/summaries/summary_uk_coal_employ.json @@ -15656,6 +15656,20 @@ "status": "FAIL" } ], + "best_zero": [ + { + "parameters": {}, + "task_file": "4e91d6b3071f054c.json", + "cplocations": [], + "scores": { + "f1": 0.5132743362831859, + "precision": 1.0, + "recall": 0.3452380952380953, + "cover": 0.35648072562358274 + }, + "status": "SUCCESS" + } + ], "default_amoc": [ { "parameters": { @@ -15919,6 +15933,20 @@ "scores": null, "status": "FAIL" } + ], + "default_zero": [ + { + "parameters": {}, + "task_file": "e9ebb0cf65198a30.json", + "cplocations": [], + "scores": { + "f1": 0.5132743362831859, + "precision": 1.0, + "recall": 0.3452380952380953, + "cover": 0.35648072562358274 + }, + "status": "SUCCESS" + } ] } } \ No newline at end of file -- cgit v1.2.3 From 1709f406eddda318f39275a4d9f3838bdaa83496 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 25 May 2020 14:27:39 +0100 Subject: 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. --- analysis/output/summaries/summary_uk_coal_employ.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'analysis/output/summaries/summary_uk_coal_employ.json') 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 }, -- cgit v1.2.3