1: |
Load observed data |
|
|
2: |
Initialize deep learning models, optimization model, learning rate strategy |
|
3: |
Detect and label intervals |
|
▷ Section 6.3.2
|
4: |
for n_epochs do
|
|
|
5: |
|
|
|
6: |
|
|
|
7: |
for
do
|
|
|
8: |
,
|
|
|
9: |
est ← model.predict(inp) |
|
|
10: |
initial_conditions ← initial_condition + est |
|
|
11 |
end for
|
|
|
12 |
13 |
while
,
do
|
|
|
14: |
|
|
▷ Where
|
15: |
|
|
|
16: |
Compute Losses |
|
|
17: |
Compute
|
|
|
18: |
if clip_gradients then
|
|
|
19: |
|
|
|
20: |
end if
|
|
|
21: |
optimization_step() |
|
|
22: |
|
|
|
23: |
end while
|
|
|
24: |
register_lr(mean_loss) |
▷ Reduces LR if necessary |
25: |
end for
|
|
|
26: |
Save results |
|
|