From 25c24e389b2608971bba7c8dfda526a0ae3b4e25 Mon Sep 17 00:00:00 2001 From: marcopeix Date: Thu, 5 Dec 2024 15:52:37 -0500 Subject: [PATCH] remove accumulated score from schema --- nbs/src/nixtla_client.ipynb | 2 +- nixtla/nixtla_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nbs/src/nixtla_client.ipynb b/nbs/src/nixtla_client.ipynb index cb5890f9..ec07402d 100644 --- a/nbs/src/nixtla_client.ipynb +++ b/nbs/src/nixtla_client.ipynb @@ -2501,7 +2501,7 @@ " if method == 'detect_anomalies_realtime':\n", " schema.append('anomaly:bool')\n", " schema.append('anomaly_score:double')\n", - " schema.append('accumulated_anomaly_score:double')\n", + " # schema.append('accumulated_anomaly_score:double')\n", " elif method == 'cross_validation':\n", " schema.append(('cutoff', schema[time_col].type))\n", " if level is not None and quantiles is not None:\n", diff --git a/nixtla/nixtla_client.py b/nixtla/nixtla_client.py index 1f024017..a40906bc 100644 --- a/nixtla/nixtla_client.py +++ b/nixtla/nixtla_client.py @@ -2437,7 +2437,7 @@ def _get_schema( if method == "detect_anomalies_realtime": schema.append("anomaly:bool") schema.append("anomaly_score:double") - schema.append("accumulated_anomaly_score:double") + # schema.append('accumulated_anomaly_score:double') elif method == "cross_validation": schema.append(("cutoff", schema[time_col].type)) if level is not None and quantiles is not None: