borisbanushev / stockpredictionai

In this noteboook I will create a complete process for predicting stock price movements. Follow along and we will achieve some pretty good results. For that purpose we will use a Generative Adversarial Network (GAN) with LSTM, a type of Recurrent Neural Network, as generator, and a Convolutional Neural Network, CNN, as a discriminator. We use LSTM for the obvious reason that we are trying to predict time series data. Why we use GAN and specifically CNN as a discriminator? That is a good question: there are special sections on that later.
4.08k stars 1.65k forks source link

'VAE_data' is not defined #249

Open RadCopperman opened 3 years ago

RadCopperman commented 3 years ago

Hi Boris, Before, Anything ..Thanks very much for your informative scripts... I'm learning LSTM and creating trading bot.

I would appreciate to help me, I found this error... VAE_data, I found.... I think, We need to define it first... but I'm not sure where or how...

n_hidden=400 # neurons in each layer n_latent=2 n_layers=3 # num of dense layers in encoder and decoder respectively n_output=VAE_data.shape[1]-1

net = VAE(n_hidden=n_hidden, n_latent=n_latent, n_layers=n_layers, n_output=n_output, batch_size=batch_size, act_type='gelu')

NameError: name 'VAE_data' is not defined

justusvw commented 3 years ago

hello @RadCopperman , did you find a solution? I've got the same issue.

RadCopperman commented 3 years ago

No I couldn’t I did everything

Sent from my iPhone

On Jul 28, 2021, at 09:08, justusvw @.***> wrote:

 hello @RadCopperman , did you find a solution? I've got the same issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.