Skip to content

Test train split  #9

@Niharikajo

Description

@Niharikajo

Hello,

I had a doubt in the data processing step

  1. In ETTm2 dataset in data_loader to split the dataset we use the following code to calculate border and then calculate the number of train and test points.
    Can you explain this line of code? How is this calculated ?
    border1s = [0, 12*30*24*4 - self.seq_len, 12*30*24*4+4*30*24*4 - self.seq_len] border2s = [12*30*24*4, 12*30*24*4+4*30*24*4, 12*30*24*4+8*30*24*4]

  2. seq_len is calculated as 24 * 4 * 4 how is this calculated? What does it signify?

Please let me know

Thank you
Niharika

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions