Skip to content

Commit

Permalink
feat(ts): Evaluation added.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabclmnt committed Jan 26, 2021
1 parent 4a24c01 commit e7ca201
Show file tree
Hide file tree
Showing 2 changed files with 322 additions and 12 deletions.
329 changes: 318 additions & 11 deletions examples/timeseries/TimeGAN_Synthetic_stock_data.ipynb

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/ydata_synthetic/preprocessing/timeseries/stock.py
Expand Up @@ -23,7 +23,10 @@ def transformations(seq_len: int):
# Reading the stock data
stock_df = pd.read_csv('../data/stock.csv')

stock_df = stock_df.set_index('Date').sort_index()
try:
stock_df = stock_df.set_index('Date').sort_index()
except:
stock_df=stock_df
#Data transformations to be applied prior to be used with the synthesizer model
processed_data = real_data_loading(stock_df.values, seq_len=seq_len)

Expand Down

0 comments on commit e7ca201

Please sign in to comment.