- ์๋ณธ ์๊ณ์ด ๋ฐ์ดํฐ๋ฅผ ์ ๋ ฅ์ผ๋ก ๋ฐ์ ๊ฐ ๊ด์ธก์น์ ๋ํ representation vector๋ฅผ ๋์ถํ๋ time series representation์ ๋ํ ์ค๋ช
- ์ ๋ ฅ ๋ฐ์ดํฐ ํํ : (num_of_instance x input_dims x seq_len) ์ฐจ์์ ๋ค๋ณ๋ ์๊ณ์ด ๋ฐ์ดํฐ(multivariate time-series data)
Time series representation ์ฌ์ฉ ์, ์ค์ ํด์ผํ๋ ๊ฐ
-
model : ['ts2vec', 'ts_tcc', 'rae_mepc', 'stoc'] ์ค ์ ํ
-
training : ๋ชจ๋ธ ํ์ต ์ฌ๋ถ, [True, False] ์ค ์ ํ, ํ์ต ์๋ฃ๋ ๋ชจ๋ธ์ด ์ ์ฅ๋์ด ์๋ค๋ฉด False ์ ํ
-
best_model_path : ํ์ต ์๋ฃ๋ ๋ชจ๋ธ์ ์ ์ฅํ ๊ฒฝ๋ก
-
์๊ณ์ด representation ๋ชจ๋ธ hyperparameter : ์๋์ ์์ธํ ์ค๋ช .
- TS2Vec hyperparameter
- TS-TCC hyperparameter
- RAE-MEPC hyperparameter
- STOC hyperparameter
- input_dim : ๋ฐ์ดํฐ์ ๋ณ์ ๊ฐ์, int
- repr_dim : data representation ์ฐจ์, int(default: 64, ๋ฒ์: 1 ์ด์, 2์ ์ง์๋ก ์ค์ ๊ถ์ฅ)
- hidden_dim : encoder์ hidden dimension, int(default: 64, ๋ฒ์: 1 ์ด์, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- num_epochs : ํ์ต epoch ํ์, int(default: 50, ๋ฒ์: 1 ์ด์)
- batch_size : batch ํฌ๊ธฐ, int(default: 512, ๋ฒ์: 1 ์ด์, ์ปดํจํฐ ์ฌ์์ ์ ํฉํ๊ฒ ์ค์ )
- lr : learning rate, float(default: 0.001, ๋ฒ์: 0.1 ์ดํ)
- device : ํ์ต ํ๊ฒฝ, (default: 'cuda', ['cuda', 'cpu'] ์ค ์ ํ)
- input_dim : ๋ฐ์ดํฐ์ ๋ณ์ ๊ฐ์, int
- repr_dim : data representation ์ฐจ์, int(default: 64, ๋ฒ์: 1 ์ด์, 2์ ์ง์๋ก ์ค์ ๊ถ์ฅ)
- hidden_dim : temporal / contextual contrasting ๋ชจ๋์ hidden dimension, int(default: 100, ๋ฒ์: 1 ์ด์, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- timesteps : temporal contrasting ๋ชจ๋์์ ๋ฏธ๋ ์์ธกํ ์์ ์ ๊ธธ์ด, int(default: 6, ๋ฒ์: 1 ์ด์)
- num_epochs : ํ์ต epoch ํ์, int(default: 50, ๋ฒ์: 1 ์ด์)
- batch_size : batch ํฌ๊ธฐ, int(default: 512, ๋ฒ์: 1 ์ด์, ์ปดํจํฐ ์ฌ์์ ์ ํฉํ๊ฒ ์ค์ )
- lr : learning rate, float(default: 0.001, ๋ฒ์: 0.1 ์ดํ)
- device : ํ์ต ํ๊ฒฝ, (default: 'cuda', ['cuda', 'cpu'] ์ค ์ ํ)
- jitter_scale_ratio : time series data augementation ์ค weak augementation์ ๊ฐ๋, float(default: 1.1, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- jitter_ratio : time series data augementation ์ค strong augementation์ ๊ฐ๋, float(default: 0.8, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- max_seg : strong augementation์์ permutation ์งํ์ ๋ฐ์ดํฐ์ ์ต๋ ๋ถํ ๊ฐ์, int(default: 8, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- window_size : ๋ชจ๋ธ์ input sequence ๊ธธ์ด, int(default: 32, ๋ฒ์: 0 ์ด์ & ์๋ ๋ฐ์ดํฐ์ sequence ๊ธธ์ด ์ดํ)
- input_dim : ๋ฐ์ดํฐ์ ๋ณ์ ๊ฐ์, int
- repr_dim : data representation ์ฐจ์, int(default: 64, ๋ฒ์: 1 ์ด์, 2์ ์ง์๋ก ์ค์ ๊ถ์ฅ)
- enc_nlayers : multi-resolution encoder๋ฅผ ๊ตฌ์ฑํ๋ sub-encoder์ ๊ฐ์, int(default: 3, ๋ฒ์: 1 ์ด์, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- dec_nlayers : multi-resolution decoder๋ฅผ ๊ตฌ์ฑํ๋ sub-decoder์ ๊ฐ์, int(default: 3, ๋ฒ์: 1 ์ด์, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- tau : multi-resolution encoder ๋ฐ decoder์ resolution๋ฅผ ์กฐ์ ํ๋ ๊ฐ, int(default: 4, ๋ฒ์: 2 ์ด์, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- num_epochs : ํ์ต epoch ํ์, int(default: 50, ๋ฒ์: 1 ์ด์)
- batch_size : batch ํฌ๊ธฐ, int(default: 512, ๋ฒ์: 1 ์ด์, ์ปดํจํฐ ์ฌ์์ ์ ํฉํ๊ฒ ์ค์ )
- lr : learning rate, float(default: 0.001, ๋ฒ์: 0.1 ์ดํ)
- device : ํ์ต ํ๊ฒฝ, (default: 'cuda', ['cuda', 'cpu'] ์ค ์ ํ)
- window_size : ๋ชจ๋ธ์ input sequence ๊ธธ์ด, int(default: 32, ๋ฒ์: 0 ์ด์ & ์๋ ๋ฐ์ดํฐ์ sequence ๊ธธ์ด ์ดํ)
- input_dim : ๋ฐ์ดํฐ์ ๋ณ์ ๊ฐ์, int
- repr_dim : data representation ์ฐจ์, int(default: 64, ๋ฒ์: 1 ์ด์, 2์ ์ง์๋ก ์ค์ ๊ถ์ฅ)
- hidden_dim : encoder์ hidden dimension, int(default: 256, ๋ฒ์: 1 ์ด์, default ๊ฐ ์ฌ์ฉ ๊ถ์ฅ)
- forecast_step : ๋ฏธ๋ ์๊ณ์ด ๋ฐ์ดํฐ์ ๋ํ์ฌ ์์ธกํ ์์ ์ ๊ธธ์ด, int(default: 6, ๋ฒ์: 1 ์ด์)
- num_epochs : ํ์ต epoch ํ์, int(default: 50, ๋ฒ์: 1 ์ด์)
- batch_size : batch ํฌ๊ธฐ, int(default: 512, ๋ฒ์: 1 ์ด์, ์ปดํจํฐ ์ฌ์์ ์ ํฉํ๊ฒ ์ค์ )
- lr : learning rate, float(default: 0.001, ๋ฒ์: 0.1 ์ดํ)
- device : ํ์ต ํ๊ฒฝ, (default: 'cuda', ['cuda', 'cpu'] ์ค ์ ํ)
- patience : ์์ธก ๋ชจ๋ธ ํ์ต ์, ์ฌ์ ์ค์ ํ epoch ๋์ loss๊ฐ ๊ฐ์ํ์ง ์์ผ๋ฉด ํ์ต ์กฐ๊ธฐ ์ค๋จ, int(default: 10, ๋ฒ์: 1 ์ด์ num_epochs ๋ฏธ๋ง)