Contents

20250902 meeting

Introduction

This experiment stems from modifying the LSTM part of the Regression Ensemble. By adjusting the parameters of the LSTM model, the goal is to make the model more accurate.

Code

The modified code is as follows:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
    rnn_model = RNNModel(
        model="LSTM",
        input_chunk_length=90,
        hidden_dim=100,
        n_rnn_layers=5,
        dropout=0.1,
        training_length=120,
        batch_size=16,
        n_epochs=500,
        random_state=random_state,
        force_reset=True,
        save_checkpoints=False
    )

Simulation 1

Used for comparison with 20250821 meeting.

MethodALL Locs & All TimeKnown Locs & All TimeUnknown Locs & All TimeALL Locs & FutureKnown Locs & FutureUnknown Locs & FutureALL Locs & PastKnown Locs & PastUnknown Locs & Past
MSPE8.2907915818.1566911289.101066219141.46141777141.23102811142.853500262.9639665342.8337176493.750968858
RMSPE2.8793734702.8559921443.01679734511.8937554111.8840661411.952133711.7216174181.6833649781.936741815
MSPE%0.0276965630.0272329270.0304979930.472051420.471171290.477369460.0099223690.0094753920.012623134
RMSPE%0.1664228440.1650240180.1746367460.687059990.686419180.690919280.0996110880.0973416250.112352724
MAPE1.2971268831.2776700821.41469063110.6431594610.6350913510.691909380.9232855800.9033732321.043601881
MAPE%0.0043234830.0042569350.0047255860.035543970.035510390.035746850.0030746640.0030067970.003484735

Simulation 2

Used for comparison with 20250820 meeting.

MethodALL Locs & All TimeKnown Locs & All TimeUnknown Locs & All TimeALL Locs & FutureKnown Locs & FutureUnknown Locs & FutureALL Locs & PastKnown Locs & PastUnknown Locs & Past
MSPE3.217737713.220878363.1987609962.756158862.84145762.24076220.836200870.836055210.83708095
RMSPE1.793805371.794680571.788508047.92187857.9272607.88928150.914440190.914360550.91492128
MSPE%0.271168420.271609540.268503075.24832975.2596545.17990360.072081970.072087750.07204705
RMSPE%0.520738340.521161720.518172822.29092332.2933942.27594020.268480860.268491620.26841582
MAPE0.892366840.892360150.892407245.62021645.6222685.60781950.703252850.703163830.70379076
MAPE%0.078289590.078303050.078208260.48588460.4862490.48368280.061985790.061985210.06198928

Epilogue

https://raw.githubusercontent.com/Josh-test-lab/website-assets-repository/refs/heads/main/posts/1140819%20meeting/To%20be%20continued.jpg
To be continued!

Environment

  • Local Operating System: Windows 11 24H2
    • Programming Language: Python 3.12.9
  • Computing Platform: National Center for High-Performance Computing (NCHC) – Taiwan AI Cloud
    • Operating System: Ubuntu
    • Miniconda
    • GPU: NVIDIA Tesla V100 32GB GPU
    • CUDA 12.8 driver
    • Programming Language: Python 3.10.16 for Linux

Further Learning

References