Skip to content

Commit 8b1d76b

Browse files
committed
Starting effort on Change detection approaches
1 parent aa28727 commit 8b1d76b

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

OptimalTransportWasserteinDistance.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@
583583
"\\begin{align*}\\tag{1.6}\n",
584584
" \\sum_{i=0}^{N-1} a_i log\\left(\\frac{a_i}{b_i}\\right) &\\geq \\left(\\sum_{i=0}^{N-1} a_i\\right) log\\left(\\frac{\\sum_{i=0}^{N-1}a_i}{\\sum_{i=0}^{N-1}b_i}\\right)\n",
585585
"\\end{align*}\n",
586-
"Where $a_i,b_i \\in [\\mathbb{R}^{+} \\times \\mathbb{R}^{+}]$, $a=\\sum_{i=0}^{N-1} a_i$, $b=\\sum_{i=0}^{N-1} b_i = 1$.\n",
586+
"Where $a_i,b_i \\in [\\mathbb{R}^{+} \\times \\mathbb{R}^{+}]$, $a=\\sum_{i=0}^{N-1} a_i$, $b=\\sum_{i=0}^{N-1} b_i = 1$ and $b_i=\\frac{1}{N}$.\n",
587587
"\n",
588588
"ie:\n",
589589
"\\begin{align*}\n",

SimpleChangeDetection.ipynb

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "c4b857d5-ca08-4681-8ac7-f8717909fa68",
6+
"metadata": {},
7+
"source": [
8+
"# Change detection in time serie: a small example"
9+
]
10+
},
11+
{
12+
"cell_type": "markdown",
13+
"id": "4a4a9e99-53bb-4d92-b227-e944d93585ab",
14+
"metadata": {},
15+
"source": [
16+
"## Sources/documentation\n",
17+
"* Change point detection example with various technics [from forecastegy](https://forecastegy.com/posts/change-point-detection-time-series-python/)\n",
18+
"* Cherry-tree blossom date in kyoto dataset: [download here](https://ourworldindata.org/grapher/date-of-the-peak-cherry-tree-blossom-in-kyoto)\n",
19+
"* Sample of bayesian reasoning on switch detection: [Notebook sample from the Bayesian Methods for Hackers](https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/blob/master/Chapter1_Introduction/Ch1_Introduction_PyMC3.ipynb)"
20+
]
21+
},
22+
{
23+
"cell_type": "code",
24+
"execution_count": null,
25+
"id": "8bf8f020-51bb-4b35-a6ce-bcb22de6e4f1",
26+
"metadata": {},
27+
"outputs": [],
28+
"source": []
29+
}
30+
],
31+
"metadata": {
32+
"kernelspec": {
33+
"display_name": "Python 3 (ipykernel)",
34+
"language": "python",
35+
"name": "python3"
36+
},
37+
"language_info": {
38+
"codemirror_mode": {
39+
"name": "ipython",
40+
"version": 3
41+
},
42+
"file_extension": ".py",
43+
"mimetype": "text/x-python",
44+
"name": "python",
45+
"nbconvert_exporter": "python",
46+
"pygments_lexer": "ipython3",
47+
"version": "3.12.1"
48+
}
49+
},
50+
"nbformat": 4,
51+
"nbformat_minor": 5
52+
}

0 commit comments

Comments
 (0)