From 51014ea7bb7f93bfad43102ed978baddbc11e7b3 Mon Sep 17 00:00:00 2001 From: Victor Mylle Date: Thu, 18 Jan 2024 17:06:44 +0000 Subject: [PATCH] Compared more policy results --- Result-Reports/Policies.md | 2 +- src/policies/plot_combiner.ipynb | 89 +++++++++++++++++-- .../autoregressive_quantiles.py | 7 +- 3 files changed, 88 insertions(+), 10 deletions(-) diff --git a/Result-Reports/Policies.md b/Result-Reports/Policies.md index 16a2b1f..48c4fb4 100644 --- a/Result-Reports/Policies.md +++ b/Result-Reports/Policies.md @@ -145,4 +145,4 @@ Test data: 01-01-2023 until 08-10–2023 - [ ] Meer verschil bekijken tussen GRU en diffusion - [ ] Andere lagen voor diffusion model (GRU, kijken naar TSDiff) -- [ ] Policies met andere modellen (Linear, Non Linear) \ No newline at end of file +- [x] Policies met andere modellen (Linear, Non Linear) \ No newline at end of file diff --git a/src/policies/plot_combiner.ipynb b/src/policies/plot_combiner.ipynb index 865cc93..09cb0a8 100644 --- a/src/policies/plot_combiner.ipynb +++ b/src/policies/plot_combiner.ipynb @@ -2,14 +2,23 @@ "cells": [ { "cell_type": "code", - "execution_count": 25, + "execution_count": 1, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "InsecureRequestWarning: Certificate verification is disabled! Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n" + ] + } + ], "source": [ "tasks = [\n", " \"71bcf53dbede4e53879ea8b89fb75fae\",\n", " \"feae39afcbba45c3892cda5fd0a10d41\",\n", - " \"7a0e1e8e2d264a889b9c1de835241ff8\"\n", + " \"7a0e1e8e2d264a889b9c1de835241ff8\",\n", + " \"012f7437a0ab4938ab56026eaa24784f\"\n", "]\n", "\n", "from clearml import Task\n", @@ -21,9 +30,38 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 2, "metadata": {}, "outputs": [ + { + "data": { + "text/html": [ + " \n", + " " + ] + }, + "metadata": {}, + "output_type": "display_data" + }, { "data": { "application/vnd.plotly.v1+json": { @@ -186,6 +224,45 @@ 215900.51859235764, 214647.84838104248 ] + }, + { + "line": { + "dash": "solid" + }, + "marker": { + "symbol": "circle" + }, + "mode": "markers+lines", + "name": "autoregressive_quantile (linear)", + "type": "scatter", + "x": [ + 840.9375, + 834.6875, + 806.9375, + 668.125, + 476.4375, + 382.8125, + 370.25, + 358.625, + 351.4375, + 344.25, + 338.0625, + 336 + ], + "y": [ + 337871.14881134033, + 337062.3393859863, + 333601.31621551514, + 311694.73236465454, + 261867.03911972046, + 231332.29724502563, + 227742.7801170349, + 224477.57051849365, + 222161.52794265747, + 219757.73532485962, + 217540.05796813965, + 217063.40544128418 + ] } ], "layout": { @@ -1022,9 +1099,9 @@ } }, "text/html": [ - "