I am training a stacked LSTM that takes as input a sequence [1,...,n] and outputs a sequence [1,...,m], for m<n, to predict stock prices.

Upon training the model with multiple architecture nuances, I am getting the same result: the yhat sequences all have the same pattern.

What might be causing this?

*All input columns are z-scored

enter image description here enter image description here


1 Answer 1


This is probably because there is no benefit is trying more nuanced architectures anyway. Stock prices are usually incredibly noisy data, neural networks excel when you have data with a complex structure yet not noisy (e.g. images, text, speech). Stock prices are the opposite, simple structure a lot of noise.

I would advise trying to model your data with something more simple, such as ARIMA or exponential smoothing.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.