Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fully release TSI-Bench code #20

Merged
merged 72 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
6a9b128
update
LinglongQian May 21, 2024
f0e1450
Merge pull request #2 from LINGLONGQIAN/main
WenjieDu May 22, 2024
3f08db8
fix: add arg n_steps for CSDI in updated pypots pkg;
WenjieDu May 22, 2024
7db2bed
Update README.md
AugustJW May 27, 2024
68913f7
feat: update code and tuning configs for BenchTSI;
WenjieDu May 27, 2024
d0f4b5e
Merge branch 'main' of https://github.com/WenjieDu/Awesome_Imputation
WenjieDu May 27, 2024
5126271
docs: update README and FiLM tuning space;
WenjieDu May 27, 2024
e58543b
docs: update tuning configs;
WenjieDu May 28, 2024
28402ad
feat: update configs;
WenjieDu May 28, 2024
43bd864
feat: add the pkg for collecting HPO results;
WenjieDu Jun 1, 2024
947e186
Update ETTh1 hyper-parameters
fanxingliu2020 Jun 1, 2024
c54c8d3
Update electricity.py
AugustJW Jun 1, 2024
f555ec1
Merge pull request #4 from fanxingliu2020/hyperparameters_etth1
WenjieDu Jun 1, 2024
da98716
feat: update the model training script;
WenjieDu Jun 1, 2024
8ba3ab9
feat: make n_rounds an argument;
WenjieDu Jun 1, 2024
0e36945
feat: print num params and avg inference time;
WenjieDu Jun 1, 2024
fbfc1c2
Update physionet2019 best hyper parameter (#5)
yyysjz1997 Jun 2, 2024
894a67d
feat: multiple sampling then average with GPVAE;
WenjieDu Jun 2, 2024
424a5eb
update
LinglongQian Jun 2, 2024
a62120a
Merge branch 'main' of https://github.com/LinglongQian/Awesome_Imputa…
LinglongQian Jun 2, 2024
f576e0f
Model name update electricity.py
LinglongQian Jun 2, 2024
a805efb
Update physionet2019 best hyper parameter (#9)
yyysjz1997 Jun 2, 2024
4ed2498
update
LinglongQian Jun 2, 2024
27380a7
Merge branch 'main' of https://github.com/LinglongQian/Awesome_Imputa…
LinglongQian Jun 2, 2024
00ebe55
feat: add arg `impute_all_sets`;
WenjieDu Jun 2, 2024
a8fb891
Merge branch 'WenjieDu:main' into main
LinglongQian Jun 2, 2024
b9f577c
Merge pull request #6 from LinglongQian/main
WenjieDu Jun 2, 2024
4e47e22
Update air datasets
yyysjz1997 Jun 2, 2024
fe286ce
Update air datasets
yyysjz1997 Jun 2, 2024
aaed114
fixed format
yyysjz1997 Jun 2, 2024
878c951
update
LinglongQian Jun 2, 2024
747d018
Merge pull request #10 from yyysjz1997/main
WenjieDu Jun 3, 2024
76a6f9f
Merge pull request #11 from LinglongQian/main
WenjieDu Jun 3, 2024
e58b160
feat: add dataset generation scripts;
WenjieDu Jun 3, 2024
a812675
Koopa update
LinglongQian Jun 3, 2024
c2b8b09
Merge branch 'WenjieDu:main' into main
LinglongQian Jun 3, 2024
ef99d06
Merge pull request #12 from LinglongQian/main
WenjieDu Jun 3, 2024
91300c9
read_results update
LinglongQian Jun 3, 2024
8eb9961
Merge branch 'WenjieDu:main' into main
LinglongQian Jun 3, 2024
74b9467
Merge pull request #13 from LinglongQian/main
WenjieDu Jun 4, 2024
7fa4dd1
feat: add naive imputation script;
WenjieDu Jun 4, 2024
a096528
Merge branch 'main' of https://github.com/WenjieDu/Awesome_Imputation
WenjieDu Jun 4, 2024
15caaf9
feat: add shell script to run naive imputation;
WenjieDu Jun 4, 2024
5a739e2
feat: add downstream classification for physionet2012;
WenjieDu Jun 4, 2024
d4a3d78
Merge pull request #14 from WenjieDu/(feat)downstream_tasks
WenjieDu Jun 4, 2024
d59da16
update
LinglongQian Jun 4, 2024
3c4f769
Merge branch 'main' of https://github.com/LinglongQian/Awesome_Imputa…
LinglongQian Jun 4, 2024
e056c46
feat: add downstream regression for ETTh1 and PeMS;
WenjieDu Jun 5, 2024
ca27778
feat: add scripts for downstream tasks;
WenjieDu Jun 9, 2024
e5a443b
Merge branch 'WenjieDu:main' into main
LinglongQian Jun 11, 2024
5749203
results_update
LinglongQian Jun 11, 2024
ba35446
feat: enable the classification task on Pedestrian;
WenjieDu Jun 14, 2024
da2b916
experiment logs release
LinglongQian Jun 17, 2024
70da8e7
all logs released
LinglongQian Jun 17, 2024
02fe060
Merge pull request #15 from LinglongQian/main
WenjieDu Jun 17, 2024
281ec6f
log update
LinglongQian Jun 17, 2024
60df72f
Merge branch 'main' of https://github.com/LinglongQian/Awesome_Imputa…
LinglongQian Jun 17, 2024
e9f47fc
Merge pull request #16 from LinglongQian/main
WenjieDu Jun 17, 2024
84334c4
update log
LinglongQian Jun 17, 2024
fa70636
Merge pull request #17 from LinglongQian/main
WenjieDu Jun 17, 2024
f65e510
refactor: update data generating scripts to match with benchpots v0.1;
WenjieDu Jun 17, 2024
f42d10a
docs: update the repo token path;
WenjieDu Jun 17, 2024
89f0ce0
Merge pull request #18 from WenjieDu/(feat)downstream_tasks
WenjieDu Jun 17, 2024
ea5c72e
hpo update
LinglongQian Jun 17, 2024
cad4cfd
Merge branch 'WenjieDu:main' into main
LinglongQian Jun 17, 2024
b25db32
Merge pull request #19 from LinglongQian/main
WenjieDu Jun 18, 2024
89df45e
Update README.md
AugustJW Jun 18, 2024
7c02cd7
docs: update README;
WenjieDu Jun 19, 2024
b23aec7
Merge branch 'main' of https://github.com/WenjieDu/Awesome_Imputation
WenjieDu Jun 19, 2024
6f5e430
feat: update code;
WenjieDu Jun 19, 2024
066ab09
docs: add LICENSE;
WenjieDu Jun 19, 2024
ebf9ac8
docs: update README;
WenjieDu Jun 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.ACCESS_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Hi there 👋,

Expand All @@ -34,7 +34,7 @@ jobs:
pr-message: |
Hi there 👋,

We really really appreciate that you have taken the time to make this PR on PyPOTS' Awesome Imputation project!
We really appreciate that you have taken the time to make this PR on PyPOTS' Awesome Imputation project!

If you are trying to fix a bug, please reference the issue number in the description or give your details about the bug.
If you are implementing a feature request, please check with the maintainers that the feature will be accepted first.
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
benchmark_code/data/physionet_2012/test.h5
benchmark_code/data/physionet_2012/train.h5
benchmark_code/data/physionet_2012/val.h5
28 changes: 28 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright (c) 2024-present, Wenjie Du
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
92 changes: 61 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,30 @@
<p align="center">
<a id="AwesomeImputation" href="#AwesomeImputation">
<img src="https://pypots.com/figs/pypots_logos/ImputationSurvey/banner.jpg"
alt="Time Series Imputation Survey" title="Time Series Imputation Survey" width="80%"
<img src="https://pypots.com/figs/pypots_logos/AwesomeImputation/banner.jpg"
alt="Time Series Imputation Survey and Benchmark"
title="Time Series Imputation Survey and Benchmark"
width="80%"
/>
</a>
</p>

The open-resource repository for the paper [**Deep Learning for Multivariate Time Series Imputation: A Survey**](https://arxiv.org/abs/2402.04059)
The repository for the paper [**TSI-Bench: Benchmarking Time Series Imputation**](https://arxiv.org/abs/2406.12747)
from <a href="https://pypots.com" target="_blank"><img src="https://pypots.com/figs/pypots_logos/PyPOTS/logo_FFBG.svg" width="30px" align="center"/> PyPOTS Research</a>.
The code and configurations for reproducing the experimental results in the paper are available under
the folder `time_series_imputation_survey_code`.

If you find this repository helpful to your work, please kindly star it and cite our survey paper (author profile links:
[Jun Wang](https://github.com/AugustJW), [Wenjie Du](https://github.com/WenjieDu),
[Wei Cao](https://weicao1990.github.io/), [Keli Zhang](https://github.com/kelizhang), [Wenjia Wang](https://www.wenjia-w.com/home),
[Yuxuan Liang](https://yuxuanliang.com/), [Qingsong Wen](https://sites.google.com/site/qingsongwen8/)) as follows:

```bibtex
@article{wang2024deep,
title={Deep Learning for Multivariate Time Series Imputation: A Survey},
author={Wang, Jun and Du, Wenjie and Cao, Wei and Zhang, Keli and Wang, Wenjia and Liang, Yuxuan and Wen, Qingsong},
journal={arXiv preprint arXiv:2402.04059},
year={2024}
}
```
The code and configurations for reproducing the experimental results in the paper are available under the folder `benchmark_code`.
The README file here maintains a list of must-read papers on time-series imputation, and a collection of time-series imputation toolkits and resources.

🤗 Contributions to update new resources and articles are very welcome!

## ❖ Time-Series Imputation Toolkits
### Datasets
### `Datasets`
[TSDB (Time Series Data Beans)](https://github.com/WenjieDu/TSDB): a Python toolkit can load 169 public time-series datasets with a single line of code.
<img src="https://img.shields.io/github/last-commit/WenjieDu/TSDB" align="center">

### Missingness
### `Missingness`
[PyGrinder](https://github.com/WenjieDu/PyGrinder): a Python library grinds data beans into the incomplete by introducing missing values with different missing patterns.
<img src="https://img.shields.io/github/last-commit/WenjieDu/PyGrinder" align="center">

### Algorithms
### `Algorithms`
[PyPOTS](https://github.com/WenjieDu/PyPOTS): a Python toolbox for data mining on Partially-Observed Time Series
<img src="https://img.shields.io/github/last-commit/WenjieDu/PyPOTS" align="center">

Expand All @@ -55,7 +43,21 @@ The papers listed here may be not from top publications, some of them even are n
but are all interesting papers related to time-series imputation that deserve reading to
researchers and practitioners who are interested in this field.

### Year 2023
### `Year 2024`

[ICML] **BayOTIDE: Bayesian Online Multivariate Time Series Imputation with Functional Decomposition**
[[paper](https://arxiv.org/abs/2308.14906)]

[ICLR] **Conditional Information Bottleneck Approach for Time Series Imputation**
[[paper](https://openreview.net/pdf?id=K1mcPiDdOJ)]
[[official code](https://github.com/Chemgyu/TimeCIB)]

[AISTATS] **SADI: Similarity-Aware Diffusion Model-Based Imputation for Incomplete Temporal EHR Data**
[[paper](https://proceedings.mlr.press/v238/dai24c/dai24c.pdf)]
[[official code](https://github.com/bestadcarry/SADI-Similarity-Aware-Diffusion-Model-Based-Imputation-for-Incomplete-Temporal-EHR-Data)]


### `Year 2023`

[ICLR] **Multivariate Time-series Imputation with Disentangled Temporal Representations**
[[paper](https://openreview.net/forum?id=rdjeCNUS6TG)]
Expand Down Expand Up @@ -111,7 +113,7 @@ researchers and practitioners who are interested in this field.
[[paper](https://dl.acm.org/doi/abs/10.1145/3583780.3614840)]


### Year 2022
### `Year 2022`

[ICLR] **Filling the G_ap_s: Multivariate Time Series Imputation by Graph Neural Networks**
[[paper](https://arxiv.org/abs/2108.00298)]
Expand All @@ -128,7 +130,7 @@ researchers and practitioners who are interested in this field.
[[paper](https://ojs.aaai.org/index.php/AAAI/article/view/21189)]


### Year 2021
### `Year 2021`

[NeurIPS] **CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputation**
[[paper](https://openreview.net/forum?id=VzuIzbRDrum)]
Expand All @@ -144,7 +146,7 @@ researchers and practitioners who are interested in this field.
[[paper](https://arxiv.org/abs/2209.10801)]


### Year 2020
### `Year 2020`

[AISTATS] **GP-VAE: Deep Probabilistic Time Series Imputation**
[[paper](https://arxiv.org/abs/1907.04155)]
Expand All @@ -160,7 +162,7 @@ researchers and practitioners who are interested in this field.
[[paper](https://drive.google.com/file/d/1AkWlqjYJ1PNgnu5apOx2dow_vgmqViQG/view)]


### Year 2019
### `Year 2019`

[NeurIPS] **NAOMI: Non-Autoregressive Multiresolution Sequence Imputation**
[[paper](https://arxiv.org/abs/1901.10946)]
Expand All @@ -175,7 +177,7 @@ researchers and practitioners who are interested in this field.
[[official code](https://github.com/tomstream/STI)]


### Year 2018
### `Year 2018`

[NeurIPS] **BRITS: Bidirectional Recurrent Imputation for Time Series**
[[paper](https://arxiv.org/abs/1805.10572)]
Expand All @@ -190,28 +192,56 @@ researchers and practitioners who are interested in this field.
[[official code](https://github.com/Luoyonghong/Multivariate-Time-Series-Imputation-with-Generative-Adversarial-Networks)]


### Year 2017
### `Year 2017`

[IEEE Transactions on Biomedical Engineering] **Estimating Missing Data in Temporal Data Streams Using Multi-Directional Recurrent Neural Networks**
[[paper](https://arxiv.org/abs/1711.08742)]
[[official code](https://github.com/jsyoon0823/MRNN)]


### Year 2016
### `Year 2016`

[IJCAI] **ST-MVL: Filling Missing Values in Geo-sensory Time Series Data**
[[paper](https://www.ijcai.org/Proceedings/16/Papers/384.pdf)]
[[official code](https://www.microsoft.com/en-us/research/uploads/prod/2016/06/STMVL-Release.zip)]


## ❖ Other Resources
### Repos about General Time Series
### `Articles about General Missingness and Imputation`
[blog] [**Data Imputation: An essential yet overlooked problem in machine learning**](https://www.vanderschaar-lab.com/data-imputation-an-essential-yet-overlooked-problem-in-machine-learning/)

[Journal of Big Data] **A survey on missing data in machine learning**
[[paper](https://journalofbigdata.springeropen.com/articles/10.1186/s40537-021-00516-9)]


### `Repos about General Time Series`
[Transformers in Time Series](https://github.com/qingsongedu/time-series-transformers-review)

[LLMs and Foundation Models for Time Series and Spatio-Temporal Data](https://github.com/qingsongedu/Awesome-TimeSeries-SpatioTemporal-LM-LLM)

[AI for Time Series (AI4TS) Papers, Tutorials, and Surveys](https://github.com/qingsongedu/awesome-AI-for-time-series-papers)

## ❖ Citing This Work
If you find this repository helpful to your work, please kindly star it and cite our benchmark paper and survey paper as follows:

```bibtex
@article{du2024tsibench,
title={TSI-Bench: Benchmarking Time Series Imputation},
author={Wenjie Du and Jun Wang and Linglong Qian and Yiyuan Yang and Fanxing Liu and Zepu Wang and Zina Ibrahim and Haoxin Liu and Zhiyuan Zhao and Yingjie Zhou and Wenjia Wang and Kaize Ding and Yuxuan Liang and B. Aditya Prakash and Qingsong Wen},
journal={arXiv preprint arXiv:2406.12747},
year={2024}
}
```

```bibtex
@article{wang2024deep,
title={Deep Learning for Multivariate Time Series Imputation: A Survey},
author={Jun Wang and Wenjie Du and Wei Cao and Keli Zhang and Wenjia Wang and Yuxuan Liang and Qingsong Wen},
journal={arXiv preprint arXiv:2402.04059},
year={2024}
}
```


<details>
<summary>🏠 Visits</summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"n_steps": {"_type":"choice","_value":[24]},
"n_features": {"_type":"choice","_value":[862]},
"epochs": {"_type":"choice","_value":[100]},
"patience": {"_type":"choice","_value":[10]},
"n_layers": {"_type":"choice","_value":[1,2,3]},
"d_model": {"_type":"choice","_value":[64,128,256,512,1024]},
"d_ffn": {"_type":"choice","_value":[64,128,256,512,1024]},
"n_heads": {"_type":"choice","_value":[1,2,4,8]},
"factor": {"_type":"choice","_value":[3]},
"moving_avg_window_size": {"_type":"choice","_value":[5,13,25]},
"dropout": {"_type":"choice","_value":[0,0.1,0.2,0.3,0.4,0.5]},
"lr":{"_type":"loguniform","_value":[0.00005,0.01]}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"n_steps": {"_type":"choice","_value":[48]},
"n_features": {"_type":"choice","_value":[35]},
"epochs": {"_type":"choice","_value":[100]},
"patience": {"_type":"choice","_value":[10]},
"n_layers": {"_type":"choice","_value":[1,2,3]},
"d_model": {"_type":"choice","_value":[64,128,256,512,1024]},
"d_ffn": {"_type":"choice","_value":[64,128,256,512,1024]},
"n_heads": {"_type":"choice","_value":[1,2,4,8]},
"factor": {"_type":"choice","_value":[3]},
"moving_avg_window_size": {"_type":"choice","_value":[5,13,25]},
"dropout": {"_type":"choice","_value":[0,0.1,0.2,0.3,0.4,0.5]},
"lr":{"_type":"loguniform","_value":[0.00005,0.01]}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
experimentName: Autoformer hyper-param searching
authorName: WenjieDu
trialConcurrency: 1
trainingServicePlatform: local
searchSpacePath: Autoformer_PhysioNet2012_tuning_space.json
multiThread: true
useAnnotation: false
tuner:
builtinTunerName: Random

trial:
command: enable_tuning=1 pypots-cli tuning --model pypots.imputation.Autoformer --train_set ../../data/physionet_2012/train.h5 --val_set ../../data/physionet_2012/val.h5
codeDir: .
gpuNum: 1

localConfig:
useActiveGpu: true
maxTrialNumPerGpu: 100
gpuIndices: 0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"n_steps": {"_type":"choice","_value":[24]},
"n_features": {"_type":"choice","_value":[132]},
"patience": {"_type":"choice","_value":[10]},
"epochs": {"_type":"choice","_value":[200]},
"epochs": {"_type":"choice","_value":[100]},
"rnn_hidden_size": {"_type":"choice","_value":[32,64,128,256,512,1024]},
"lr":{"_type":"loguniform","_value":[0.00005,0.01]}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"n_steps": {"_type":"choice","_value":[96]},
"n_steps": {"_type":"choice","_value":[48]},
"n_features": {"_type":"choice","_value":[7]},
"patience": {"_type":"choice","_value":[10]},
"epochs": {"_type":"choice","_value":[200]},
"epochs": {"_type":"choice","_value":[100]},
"rnn_hidden_size": {"_type":"choice","_value":[32,64,128,256,512,1024]},
"lr":{"_type":"loguniform","_value":[0.00005,0.01]}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"n_steps": {"_type":"choice","_value":[48]},
"n_features": {"_type":"choice","_value":[37]},
"n_features": {"_type":"choice","_value":[35]},
"patience": {"_type":"choice","_value":[10]},
"epochs": {"_type":"choice","_value":[200]},
"epochs": {"_type":"choice","_value":[100]},
"rnn_hidden_size": {"_type":"choice","_value":[32,64,128,256,512,1024]},
"lr":{"_type":"loguniform","_value":[0.00005,0.01]}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
experimentName: BRITS hyper-param searching
authorName: WenjieDu
trialConcurrency: 3
trainingServicePlatform: local
searchSpacePath: BRITS_PhysioNet2012_tuning_space.json
# searchSpacePath: BRITS_BeijingAir_tuning_space.json
# searchSpacePath: BRITS_ETTh1_tuning_space.json
multiThread: true
useAnnotation: false
tuner:
builtinTunerName: Random

trial:
command: enable_tuning=1 pypots-cli tuning --model pypots.imputation.BRITS --train_set ../../data/physionet_2012/train.h5 --val_set ../../data/physionet_2012/val.h5
# command: enable_tuning=1 pypots-cli tuning --model pypots.imputation.BRITS --train_set ../../data/air_quality/train.h5 --val_set ../../data/air_quality/val.h5
# command: enable_tuning=1 pypots-cli tuning --model pypots.imputation.BRITS --train_set ../../data/ettm1/train.h5 --val_set ../../data/ettm1/val.h5
codeDir: .
gpuNum: 1

localConfig:
useActiveGpu: true
maxTrialNumPerGpu: 100
gpuIndices: 0
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"n_steps": {"_type":"choice","_value":[24]},
"n_features": {"_type":"choice","_value":[132]},
"patience": {"_type":"choice","_value":[10]},
"epochs": {"_type":"choice","_value":[200]},
"epochs": {"_type":"choice","_value":[100]},
"n_layers": {"_type":"choice","_value":[1,2,3,4,5,6]},
"n_heads": {"_type":"choice","_value":[1,2,4,8,16]},
"n_channels": {"_type":"choice","_value":[16,32,64,128]},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"n_steps": {"_type":"choice","_value":[96]},
"n_features": {"_type":"choice","_value":[7]},
"patience": {"_type":"choice","_value":[10]},
"epochs": {"_type":"choice","_value":[200]},
"epochs": {"_type":"choice","_value":[100]},
"n_layers": {"_type":"choice","_value":[1,2,3,4,5,6]},
"n_heads": {"_type":"choice","_value":[1,2,4,8,16]},
"n_channels": {"_type":"choice","_value":[16,32,64,128]},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"n_features": {"_type":"choice","_value":[37]},
"n_steps": {"_type":"choice","_value":[48]},
"n_features": {"_type":"choice","_value":[35]},
"patience": {"_type":"choice","_value":[10]},
"epochs": {"_type":"choice","_value":[200]},
"epochs": {"_type":"choice","_value":[100]},
"n_layers": {"_type":"choice","_value":[1,2,3,4,5,6]},
"n_heads": {"_type":"choice","_value":[1,2,4,8,16]},
"n_channels": {"_type":"choice","_value":[16,32,64,128]},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
experimentName: CSDI hyper-param searching
authorName: WenjieDu
trialConcurrency: 1
trainingServicePlatform: local
searchSpacePath: CSDI_PhysioNet2012_tuning_space.json
#searchSpacePath: CSDI_BeijingAir_tuning_space.json
# searchSpacePath: CSDI_ETTh1_tuning_space.json
multiThread: true
useAnnotation: false
tuner:
builtinTunerName: Random

trial:
command: enable_tuning=1 pypots-cli tuning --model pypots.imputation.CSDI --train_set ../../data/physionet_2012/train.h5 --val_set ../../data/physionet_2012/val.h5
# command: enable_tuning=1 pypots-cli tuning --model pypots.imputation.CSDI --train_set ../../data/air_quality/train.h5 --val_set ../../data/air_quality/val.h5
# command: enable_tuning=1 pypots-cli tuning --model pypots.imputation.CSDI --train_set ../../data/ettm1/train.h5 --val_set ../../data/ettm1/val.h5
codeDir: .
gpuNum: 1

localConfig:
useActiveGpu: true
maxTrialNumPerGpu: 100
gpuIndices: 0
Loading
Loading