From fce90cfb8ebdba8e6dfa9ebf4f2f0f1a65e9b247 Mon Sep 17 00:00:00 2001 From: Hannes Hansen Date: Tue, 25 Jun 2024 16:08:07 +0200 Subject: [PATCH] debug result --- algo/curve_anomaly/cont_det/cont_detector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/algo/curve_anomaly/cont_det/cont_detector.py b/algo/curve_anomaly/cont_det/cont_detector.py index 386331a..a32689a 100644 --- a/algo/curve_anomaly/cont_det/cont_detector.py +++ b/algo/curve_anomaly/cont_det/cont_detector.py @@ -53,9 +53,9 @@ def create_debug_result(self): def random_df(): start = pd.to_datetime('2015-01-01') end = pd.to_datetime('2015-01-03') - n = 50 + n = 100 ts = random_dates(start, end, n) - data = pd.DataFrame({"value": np.random.rand(100,), "time": ts, "reconstr": np.random.rand(100,)}) + data = pd.DataFrame({"value": np.random.rand(n,), "time": ts, "reconstr": np.random.rand(n,)}) return data def random_dates(start, end, n=10):