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. --- analysis/output/tables/best_f1_uni_avg.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'analysis/output/tables/best_f1_uni_avg.json') diff --git a/analysis/output/tables/best_f1_uni_avg.json b/analysis/output/tables/best_f1_uni_avg.json index 5bf3ddb2..38e6be24 100644 --- a/analysis/output/tables/best_f1_uni_avg.json +++ b/analysis/output/tables/best_f1_uni_avg.json @@ -10,5 +10,6 @@ "prophet": 0.5056771261253178, "rfpop": 0.39155673412323544, "segneigh": 0.8064026485290847, - "wbs": 0.3904386889845699 + "wbs": 0.3904386889845699, + "zero": 0.6623749098695177 } -- 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/tables/best_f1_uni_avg.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'analysis/output/tables/best_f1_uni_avg.json') diff --git a/analysis/output/tables/best_f1_uni_avg.json b/analysis/output/tables/best_f1_uni_avg.json index 38e6be24..712dfa10 100644 --- a/analysis/output/tables/best_f1_uni_avg.json +++ b/analysis/output/tables/best_f1_uni_avg.json @@ -1,15 +1,15 @@ { - "amoc": 0.7827330244626048, - "binseg": 0.8031280093237617, - "bocpd": 0.8307501589195349, - "bocpdms": 0.568782994696522, - "cpnp": 0.5669381324304421, - "ecp": 0.7060062858372516, - "kcpa": 0.5890673779576903, - "pelt": 0.7028636492743974, - "prophet": 0.5056771261253178, - "rfpop": 0.39155673412323544, - "segneigh": 0.8064026485290847, - "wbs": 0.3904386889845699, + "amoc": 0.7989121074618578, + "binseg": 0.8559005454405391, + "bocpd": 0.8796748379866468, + "bocpdms": 0.6203284167541796, + "cpnp": 0.6659800464352401, + "ecp": 0.7965989034220683, + "kcpa": 0.6831674110255809, + "pelt": 0.787210573431827, + "prophet": 0.5343546652863759, + "rfpop": 0.5309415810175405, + "segneigh": 0.8549018881498379, + "wbs": 0.5327293979109599, "zero": 0.6623749098695177 } -- cgit v1.2.3