Skip to content

Commit

Permalink
[DOC] change imports in detection tutorial to detection module (#7306)
Browse files Browse the repository at this point in the history
This PR changes imports in the detection tutorial to the `detection`
module, from `annotation`.

Requires #7294.
  • Loading branch information
fkiraly authored Oct 19, 2024
1 parent 3a65eab commit bc7c0c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/07_detection_anomaly_changepoints.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
}
],
"source": [
"from sktime.annotation.stray import STRAY\n",
"from sktime.detection.stray import STRAY\n",
"\n",
"model = STRAY()\n",
"model.fit(df[\"data\"])\n",
Expand Down Expand Up @@ -853,7 +853,7 @@
}
],
"source": [
"from sktime.annotation.bs import BinarySegmentation\n",
"from sktime.detection.bs import BinarySegmentation\n",
"\n",
"model = BinarySegmentation(threshold=1000)\n",
"predicted_change_points = model.fit_predict(df)\n",
Expand Down

0 comments on commit bc7c0c6

Please sign in to comment.