ML4ITS/mtad-gat-pytorch

My understanding of mtad _ gat.py does not reflect the ' Multivariate Time-series ' in the title of the paper.

Closed this issue · 2 comments

The data x received by the forward ( ) function in mtad _ gat.py is in the shape of ( batch number, window, fearture number ), but on the feature number, only the data of the first column is not 0, and the data of the remaining columns are all 0. Isn 't that splicing all the dimensions of data into a long one-dimensional data ?
image

I believe that is one hot encoding of categorical features, thats why you see 0's

thank you