ydata-synthetic
ydata-synthetic copied to clipboard
Stock dataset is not available in Google Colab
Describe the bug Once I found a google colab to work I found that TimeGAN doesn't supply or reference the location of the data.
FileNotFoundError: [Errno 2] No such file or directory: 'sample_data/stock_data.csv'
To Reproduce Steps to reproduce the behavior:
- Go to 'TIME '
- Run code to the seventh cell, it generates the error shown below
Screenshots

Desktop (please complete the following information):
- MacOS: 11.3.1
- Browser safari
You can use any stock dataset like the one from yahoo finance. The original dataset from the paper is here https://github.com/jsyoon0823/TimeGAN/blob/master/data/stock_data.csv
You can use any stock dataset like the one from yahoo finance. The original dataset from the paper is here https://github.com/jsyoon0823/TimeGAN/blob/master/data/stock_data.csv
@thewizardnet do you accept PR's or add collaborators with this repo?
Hi @datatalking yes we do accept PR and the addition of collaborators!
Feel free to submit your PR! It is great to have you contributing :)
@fabclmnt what I'm thinking is that I could refactor the csv link_file within a parsing function so the user doesn't need to download it. Are you aware of any SSL or restrictions that require hardcoding the CSV file as an HTML, or does it need to be 'local' or 'root' for the google collab?
I had a separate question but was wondering if you could point me to the interwebs where I can find out how to access a google collab; how could a collab be 'started' and 'stopped' or run via an API as in scheduled with a cron job?
I'm not aware of the specifics around Google Colab to be honest. Regarding the dataset itself we have a few datasets (such as the adult census dataset) that does not require the local file, and the data is download directly to the Colab space. Something similar could be done.