deepvats icon indicating copy to clipboard operation
deepvats copied to clipboard

Add time encodings to MVP encoder

Open vrodriguezf opened this issue 3 years ago • 0 comments
trafficstars

Don't include them in the mask, but as a context. This can be specially useful when the time series represent a natural or social phenomena that depends on the time of the day, day of year, week, ...

This can be done with transformations from tsai (tsai must be updated to the last versions):

  • In case there are natural timestamps in the data: TSDateTimeEncoder
  • In case there are not, still we can encode the positions linearlt or cyclically (with sin,cos, kind of the way that the Transformer positional encodings do) with TSCyclicalPosition and TSLinearPosition

Add all of these as config options to the notebook encoder_MVP

vrodriguezf avatar Dec 14 '21 14:12 vrodriguezf