-
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
1 parent
a48a5ea
commit cde6bb6
Showing
9 changed files
with
19 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,13 +1,25 @@ | ||
# Forecastable | ||
Code for "Anomalies in metro passenger demand are predictable -- causal inference with transformer" | ||
# Abnormal metro passenger demand is predictable | ||
Code for "Abnormal metro passenger demand is predictable from alighting and boarding correlation" | ||
The structure of the code is as follows: | ||
``` | ||
├── models <- Implementation of different models, including the proposed, PatchTST, Dlinear, LSTM, etc.> | ||
├── models <- Implementation of different models, including the proposed ABtransformer, Nlinear, and DeepAR.> | ||
├── exps <- Scripts to run experiments for different models. -> | ||
├── ABtranformer <- Experiments for the proposed ABtranformer. -> | ||
├── PatchTST <- Experiments for PatchTST. -> | ||
├── Dlinear <- Experiments for Dlinear. -> | ||
├── LSTM <- Experiments for LSTM. -> | ||
├── Nlinear <- Experiments for Nlinear. -> | ||
├── DeepAR <- Experiments for DeepAR. -> | ||
├── datasets <- Scripts to prepare datasets for training and testing for different models. -> | ||
├── utilites <- Utilities like loss functions, learning rate schedulers, etc. -> | ||
``` | ||
├── data <- Data for the experiments. -> | ||
``` | ||
|
||
The idea is to use attention to model long-range correlations between alighting and boarding flow in metro stations. | ||
The model is named Alight-boarding Transformer (ABtransformer). | ||
ABTrasnformer can predict abnormal passenger boarding demand with a long lead time. | ||
|
||
 | ||
|
||
|
||
The model is also interpretable, the boarding demand forecast at the checked location exhibits significant attention to periods | ||
with abnormal alighting demand, indicating the parts of the input sequence that contribute to the forecast at the checked | ||
location. | ||
 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.