pytorch-GAN-timeseries icon indicating copy to clipboard operation
pytorch-GAN-timeseries copied to clipboard

csv format

Open Maayan19 opened this issue 5 years ago • 4 comments

Hi, Can you please give more information regarding the input csv file? How the data should be organized? or adding an example of such file? Thanks

Maayan19 avatar Dec 05 '19 10:12 Maayan19

Hello, can you tell me where to download the data, or is there a dataset that can be used publicly?

weilaimingche avatar Jan 10 '20 07:01 weilaimingche

Hello, can you tell me where to download the data, or is there a dataset that can be used publicly?

I think the csv sould be organized in this way:

data_column;orario_column;BTP_Price

where data_column is the date, orario_column is the time, BTP_Price is the price.

Even with it, I got some errors I am working on:

RuntimeError: Assertion x >= 0. && x <= 1.' failed. input value should be between 0~1, but got -nan at /pytorch/aten/src/THNN/generic/BCECriterion.c:62

petruccs avatar Jan 10 '20 11:01 petruccs

Hello, can you tell me where to download the data, or is there a dataset that can be used publicly?

I think the csv sould be organized in this way:

data_column;orario_column;BTP_Price

where data_column is the date, orario_column is the time, BTP_Price is the price.

Even with it, I got some errors I am working on:

RuntimeError: Assertion x >= 0. && x <= 1.' failed. input value should be between 0~1, but got -nan at /pytorch/aten/src/THNN/generic/BCECriterion.c:62

can you share your data with me? I want to try it. my emal is [email protected]. We can discuss the code.

weilaimingche avatar Jan 10 '20 11:01 weilaimingche

I didn't do much. I created a file with the following values:

data_column;orario_column;BTP_Price 2020/01/01;00:00;0.1 2020/01/01;00:01;0.2 2020/01/01;00:02;0.3 2020/01/01;00:03;0.4 2020/01/01;00:04;0.5 2020/01/01;00:05;0.6

I think that should be the right content of the csv file...

petruccs avatar Jan 10 '20 12:01 petruccs