mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 14:56:55 +08:00
Fix bugs of model.
This commit is contained in:
@@ -51,7 +51,7 @@ task:
|
||||
class: GATs
|
||||
module_path: qlib.contrib.model.pytorch_gats_ts
|
||||
kwargs:
|
||||
d_feat: 6
|
||||
d_feat: 20
|
||||
hidden_size: 64
|
||||
num_layers: 2
|
||||
dropout: 0.7
|
||||
@@ -62,7 +62,7 @@ task:
|
||||
loss: mse
|
||||
base_model: LSTM
|
||||
with_pretrain: True
|
||||
model_path: "benchmarks/LSTM/model_lstm_ts.pkl"
|
||||
model_path: "benchmarks/LSTM/csi300_lstm_ts.pkl"
|
||||
GPU: 0
|
||||
dataset:
|
||||
class: TSDatasetH
|
||||
|
||||
@@ -57,7 +57,7 @@ task:
|
||||
num_layers: 2
|
||||
dropout: 0.0
|
||||
n_epochs: 200
|
||||
lr: 1e-2
|
||||
lr: 1e-1
|
||||
early_stop: 10
|
||||
batch_size: 800
|
||||
metric: loss
|
||||
|
||||
Reference in New Issue
Block a user