started implementing sliding window

This commit is contained in:
Tuan-Dat Tran
2021-07-14 10:15:52 +02:00
parent d786a2ffb8
commit f06f61cd04
4 changed files with 1649 additions and 106 deletions

View File

@@ -3,7 +3,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 1,
"id": "cad2b1fd", "id": "be7fb1d9",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -15,7 +15,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 2,
"id": "eaa187dd", "id": "6ed9eb14",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -44,7 +44,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 3,
"id": "a49f04dd", "id": "3b4401d0",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -57,7 +57,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 4,
"id": "7c483697", "id": "9af8908e",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -74,7 +74,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 5,
"id": "678cf4d1", "id": "00579598",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -106,7 +106,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 6,
"id": "07014bb4", "id": "dd2ba5c9",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -162,7 +162,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 7,
"id": "332587ff", "id": "f383e21e",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -178,7 +178,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 8,
"id": "ebb0786b", "id": "e40b33bf",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -208,7 +208,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 9,
"id": "8c32a0c6", "id": "56bce2a5",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -227,7 +227,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 10,
"id": "977925c9", "id": "808f43c3",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -245,7 +245,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 11,
"id": "9694b5a7", "id": "7dd050be",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -275,7 +275,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 12,
"id": "07383762", "id": "fc701b87",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -317,7 +317,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 13,
"id": "3f1e9394", "id": "048718bd",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -339,7 +339,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 14,
"id": "bb48270b", "id": "68335fef",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -359,7 +359,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 15,
"id": "bf51801e", "id": "67ac50ef",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -402,7 +402,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 16, "execution_count": 16,
"id": "9e3158db", "id": "1b5f3868",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -439,7 +439,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 17, "execution_count": 17,
"id": "9b9b40da", "id": "24d0b968",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@@ -452,7 +452,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 23, "execution_count": 23,
"id": "063d11fd", "id": "44b5e9f3",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -477,7 +477,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 24, "execution_count": 24,
"id": "31d23c9d", "id": "93d19897",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@@ -596,7 +596,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 26, "execution_count": 26,
"id": "77fdb261", "id": "c00b7ffe",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -617,7 +617,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 27, "execution_count": 27,
"id": "0640edf0", "id": "1cd94b4c",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -638,7 +638,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 28, "execution_count": 28,
"id": "5f1ba423", "id": "dc5f4f81",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@@ -652,7 +652,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 29, "execution_count": 29,
"id": "a2e87299", "id": "37180b0e",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@@ -686,7 +686,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 30, "execution_count": 30,
"id": "77b6fe62", "id": "142787fc",
"metadata": { "metadata": {
"tags": [] "tags": []
}, },
@@ -715,7 +715,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 31, "execution_count": 31,
"id": "0cc321b4", "id": "8badef83",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -741,7 +741,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 32, "execution_count": 32,
"id": "ec0ee1f8", "id": "bd54349d",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -1016,7 +1016,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 33, "execution_count": 33,
"id": "fd42c24d", "id": "94c2a01e",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -1291,7 +1291,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"id": "12270901", "id": "f17eeb73",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [] "source": []
@@ -1313,7 +1313,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.8.5" "version": "3.8.10"
} }
}, },
"nbformat": 4, "nbformat": 4,

View File

@@ -3,7 +3,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 1,
"id": "c1c66d75", "id": "cd4df4d6",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -14,7 +14,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 2,
"id": "1c3e70d6", "id": "e74682bc",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -30,7 +30,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 3,
"id": "977c5f7c", "id": "2cba70e6",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -50,7 +50,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 4,
"id": "15581211", "id": "25708ad0",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -69,7 +69,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 5,
"id": "7033ae7d", "id": "028b40fd",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -90,7 +90,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 6,
"id": "bf52a98d", "id": "909c1ae1",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -114,7 +114,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 7,
"id": "0437ae03", "id": "a1422936",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -146,7 +146,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 8,
"id": "19e36172", "id": "b50696c3",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -166,7 +166,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 9,
"id": "cdd9f1f7", "id": "e9f71bad",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -219,7 +219,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 10,
"id": "2f1ed5a7", "id": "e38a87d6",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -247,7 +247,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 11,
"id": "f8b06a5d", "id": "61d0460c",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -275,7 +275,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 12,
"id": "bd4c4b67", "id": "f616324d",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -286,7 +286,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 13,
"id": "45faadf7", "id": "5d59fccb",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -296,7 +296,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 14,
"id": "c9e13d2e", "id": "972fc363",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -325,7 +325,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 15,
"id": "a0ba25d8", "id": "f9949967",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -372,7 +372,7 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "533eef6a", "id": "bb6724f3",
"metadata": {}, "metadata": {},
"source": [ "source": [
"fig, axs = plt.subplots(13,2,figsize=(20, 60), sharey=True)\n", "fig, axs = plt.subplots(13,2,figsize=(20, 60), sharey=True)\n",
@@ -390,7 +390,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 16, "execution_count": 16,
"id": "c7ff0590", "id": "5493e919",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -402,7 +402,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 17, "execution_count": 17,
"id": "f3a1053f", "id": "fad18a1d",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -412,7 +412,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 18, "execution_count": 18,
"id": "edf15e94", "id": "488c40fc",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -454,7 +454,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 19, "execution_count": 19,
"id": "8d8a548b", "id": "feeafbd0",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -613,7 +613,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 20,
"id": "de7ce7dd", "id": "e81143f4",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@@ -634,7 +634,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 21, "execution_count": 21,
"id": "8be52141", "id": "2451e675",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@@ -644,7 +644,7 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
"id": "83a4c2e8", "id": "d452d294",
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [] "source": []
@@ -666,7 +666,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.8.5" "version": "3.8.10"
} }
}, },
"nbformat": 4, "nbformat": 4,