Skip to content

Commit

Permalink
remove accumulated score from schema
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopeix committed Dec 5, 2024
1 parent 44bcd37 commit 25c24e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbs/src/nixtla_client.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion nixtla/nixtla_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 25c24e3

Please sign in to comment.