ydataai / ydata-synthetic

Synthetic data generators for tabular and time-series data
https://docs.synthetic.ydata.ai
MIT License
1.45k stars 236 forks source link

docs: updating the TimeGAN notebook to support the new version of the API #310

Closed cptanalatriste closed 11 months ago

cptanalatriste commented 1 year ago

Previously, the notebook examples/timeseries/TimeGAN_Synthetic_stock_data.ipynb was not aligned with the new version of the API, that uses the TimeSeriesSynthesizer class. We do have a working example at examples/timeseries/stock_timegan.py. In this PR, I mostly ported the code in stock_timegan.py to TimeGAN_Synthetic_stock_data.ipynb, to have working Jupyter Notebook example of synthetic time series generation.

This PR addresses the issue: https://github.com/ydataai/ydata-synthetic/issues/300

fabclmnt commented 11 months ago

Hi @cptanalatriste,

thank you for your contribution! It is always great to have the examples and documentation updated!