-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.jl.html
131 lines (130 loc) · 3.67 KB
/
app.jl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<header id="ixsk" class="q-pa-sm">
<h1 class="st-header__title text-h3">Weather data forecast</h1>
</header>
<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>
<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
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 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>
<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>
<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 class="row">
<div class="st-col col-12 st-module">
<div class="row">
<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>
<q-separator id="i4gvj"></q-separator>
<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>