misc, fix transformer, more plots

This commit is contained in:
wassname
2020-10-30 14:46:31 +08:00
parent b7a80f187c
commit e1c86f9654
7 changed files with 1114 additions and 11017 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class Seq2SeqDataSet(torch.utils.data.Dataset):
assert df.index.freq is not None, 'should have freq'
assert_no_objects(df)
self.freq = self.df.index.freq
self.freq = df.index.freq
self.df = df.dropna(subset=columns_target).ffill()
self.window_past = window_past