Skip to content

Commit

Permalink
[ENH] skchange rename of Capa to CAPA (#7457)
Browse files Browse the repository at this point in the history
This PR renames `Capa` to `CAPA` in the detection notebook, following
the same rename in `skchange`.
  • Loading branch information
fkiraly authored Nov 27, 2024
1 parent 2d8c664 commit 0469dd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/07_detection_anomaly_changepoints.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"id": "4249c512-6285-4a5a-bce3-1e13c771faee",
"metadata": {},
"outputs": [
Expand All @@ -613,9 +613,9 @@
}
],
"source": [
"from skchange.anomaly_detectors.capa import Capa\n",
"from skchange.anomaly_detectors.capa import CAPA\n",
"\n",
"model = Capa(max_segment_length=350)\n",
"model = CAPA(max_segment_length=350)\n",
"model.fit(df[\"data\"])\n",
"anomaly_intervals = model.predict(df[\"data\"])\n",
"anomaly_intervals"
Expand Down

0 comments on commit 0469dd2

Please sign in to comment.