-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,003 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usertheme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
name = "SeriesForecast" | ||
imgname = "forecast" | ||
version = "0.0.2" | ||
|
||
[deps] | ||
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0" | ||
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" | ||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | ||
Observables = "510215fc-4207-5dde-b226-833fc4488ee2" | ||
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0" | ||
Optimization = "7f7a1694-90dd-40f0-9382-eb1efda571ba" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66" | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59" | ||
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3" | ||
PlotlyBase = "a03496cd-edff-5a9b-9e67-9cda94a718b5" | ||
Lux = "b2108857-7c20-44ae-9111-449ecde12c47" | ||
DiffEqFlux = "aae7a2af-3d4f-5e19-a356-7da93b79d9d0" | ||
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa" | ||
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" | ||
GenieFramework = "a59fdf5c-6bf0-4f5d-949c-a137c9e2f353" | ||
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3" | ||
Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59" | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819" | ||
Lux = "b2108857-7c20-44ae-9111-449ecde12c47" | ||
Observables = "510215fc-4207-5dde-b226-833fc4488ee2" | ||
Optimization = "7f7a1694-90dd-40f0-9382-eb1efda571ba" | ||
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa" | ||
OptimizationOptimisers = "42dfb2eb-d2b4-4451-abcd-913932933ac1" | ||
PlotlyBase = "a03496cd-edff-5a9b-9e67-9cda94a718b5" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | ||
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" | ||
|
||
[Genie] | ||
instantiated_pwd = "/Users/pere/genie/genieawesome/SeriesForecast" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,71 @@ | ||
<header class="st-header q-pa-sm" style="text-align:center"> | ||
<header id="ixsk" class="st-header q-pa-sm"> | ||
<h1 class="st-header__title text-h3">Weather data forecast</h1> | ||
</header> | ||
|
||
<div class="row st-module" style="padding:15px"> | ||
<div class=" col-6"> | ||
<h4 style="text-align:center;margin:0px">Mean-squared error</h4> | ||
<div class="row"> | ||
<st-big-number :number="mse[0]" title="Temperature" ></st-big-number> | ||
<st-big-number :number="mse[1]" title="Humidity" ></st-big-number> | ||
<st-big-number :number="mse[2]" title="Wind" ></st-big-number> | ||
<st-big-number :number="mse[3]" title="Pressure" ></st-big-number> | ||
<div class="row"> | ||
<div id="iivt7" class="st-module"> | ||
<h6 id="iqanm"><span id="imrvv">Mean-squared error</span></h6> | ||
<div id="i2x43"> | ||
<st-big-number id="ilrgj" :number="mse[0]" title="Temperature"></st-big-number> | ||
<st-big-number id="i8o8q" :number="mse[3]" title="Pressure"></st-big-number> | ||
<st-big-number id="i1dwj" :number="mse[2]" title="Wind"></st-big-number> | ||
<st-big-number id="iki2r" :number="mse[1]" title="Humidity"></st-big-number> | ||
</div> | ||
</div> | ||
<q-separator vertical /> | ||
|
||
<div class="col-4 col-sm" style="padding-left:50px;padding-top:15px"> | ||
<q-badge color="secondary"> | ||
<div class="col-12 col-sm st-module"> | ||
<div id="iaizc" class="col-4 col-sm"> | ||
<q-badge id="inm59" color="primary"> | ||
Prediction horizon (samples) | ||
</q-badge> | ||
<q-slider :min=30 v-model="r" :max=100 :step=1 label-always></q-slider> | ||
<q-badge color="secondary"> | ||
<q-slider id="in2wj" :min="30" v-model="r" :max="100" :step="1" :label-always="true"></q-slider> | ||
<q-badge id="i48xk" color="primary"> | ||
Prediction step size (samples) | ||
</q-badge> | ||
<div class="q-gutter-sm"> | ||
<q-radio val=1 label="1" v-model="pstep"></q-radio> | ||
<q-radio val=2 label="2" v-model="pstep"></q-radio> | ||
<q-radio val=5 label="5" v-model="pstep"></q-radio> | ||
<div id="ihdmj" class="q-gutter-sm"> | ||
<q-radio id="im7zq" val="1" label="1" v-model="pstep"></q-radio> | ||
<q-radio id="iamcg" val="2" label="2" v-model="pstep"></q-radio> | ||
<q-radio id="izhd9" val="5" label="5" v-model="pstep"></q-radio> | ||
</div> | ||
</div> | ||
<div class="col-2 col-sm" style="text-align:center"> | ||
<q-btn style="width:87px" :loading="start" label="Train" v-on:click="start = true" color="$button_color" :disable="$prod_mode"> | ||
<q-tooltip> | ||
</div> | ||
<div id="i0k0w" class="st-module"> | ||
<div id="ikvoi" class="container"> | ||
<q-btn id="ifwxl" :loading="start" label="Train" v-on:click="start = true" color="$button_color" :disable="$prod_mode"> | ||
<q-tooltip id="i80mg"> | ||
$button_tooltip | ||
</q-tooltip> | ||
</q-btn><br> | ||
<q-btn style="margin-top:15px" :loading="animate" label="Animate" v-on:click="animate = true" color="primary"></q-btn><br> | ||
<q-btn style="margin-top:15px" color="secondary" label="App info"> | ||
<q-popup-proxy> | ||
</q-btn> | ||
<q-btn id="i9sqz" :loading="animate" label="Animate" v-on:click="animate = true" color="primary"></q-btn> | ||
<q-btn id="il288" color="primary" label="App info"> | ||
<q-popup-proxy id="i14xm"> | ||
<q-banner> | ||
This app uses a neural ordinary differential equation (NODE) to forecast weather data from Delhi. The forecast is implemented with the DiffeqFlux, DifferentialEquations, Optimization and Lux packages, and the code is based on the <a href="https://sebastiancallh.github.io/post/neural-ode-weather-forecast/">blog post</a> by Sebastian Callh. | ||
</q-banner> | ||
</q-popup-proxy> | ||
</q-btn> | ||
</div></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="st-col col-12 st-module"> | ||
<div class="row"> | ||
<div class="st-col col-12 st-module"> | ||
<div class="row"> | ||
<div class="st-col col-12 col-sm "style="padding-right:10px"> | ||
<h4 style="text-align:center;margin-bottom:10px">Temperature</h4> | ||
<plotly :data="temp_pdata" :layout="temp_layout" :displaylogo="false"></plotly> | ||
</div> | ||
<div class="st-col col-12 col-sm "style="padding-left:10px"> | ||
<h4 style="text-align:center;margin-bottom:10px">Humidity</h4> | ||
<plotly :data="hum_pdata" :layout="hum_layout" :displaylogo="false"></plotly> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="st-col col-12 col-sm " style="padding-right:10px"> | ||
<h4 style="text-align:center;margin:0px;margin-bottom:10px">Wind</h4> | ||
<plotly :data="wind_pdata" :layout="wind_layout" :displaylogo="false"></plotly> | ||
</div> | ||
<div class="st-col col-12 col-sm " style="padding-left:10px"> | ||
<h4 style="text-align:center;margin:0px;margin-bottom:10px">Pressure</h4> | ||
<plotly :data="press_pdata" :layout="press_layout" :displaylogo="false"></plotly> | ||
</div> | ||
</div> | ||
<div id="i5f5e" class="st-col col-12 col-sm"> | ||
<h4 id="ixb7p">Temperature</h4> | ||
<plotly :displaylogo="false" id="ichdu" :data="temp_pdata" :layout="temp_layout"></plotly> | ||
</div> | ||
<div id="ia4uv" class="st-col col-12 col-sm"> | ||
<h4 id="is1ih">Humidity</h4> | ||
<plotly :displaylogo="false" id="ipa5w" :data="hum_pdata" :layout="hum_layout"></plotly> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div id="ie07i" class="st-col col-12 col-sm"> | ||
<h4 id="iohzq">Wind</h4> | ||
<plotly :displaylogo="false" id="inplg" :data="wind_pdata" :layout="wind_layout"></plotly> | ||
</div> | ||
<div id="iljh4" class="st-col col-12 col-sm"> | ||
<h4 id="ivy2n">Pressure</h4> | ||
<plotly :displaylogo="false" id="ijinh" :data="press_pdata" :layout="press_layout"></plotly> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.