cderinbogaz / inpredo

Inpredo is a Deep Learning tool which looks into financial charts and predicts stock movements.
https://towardsdatascience.com/making-a-i-that-looks-into-trade-charts-62e7d51edcba
MIT License
159 stars 93 forks source link

Why author is using pd = np.flipud(ad)? #16

Closed moozgoos closed 3 years ago

moozgoos commented 3 years ago

Why author is using


> graphwerk.py

pd = np.flipud(ad)

doesn't it generate horizontally flipped images? Will this not produce a wrong prediction model?

moozgoos commented 3 years ago

Ok, owner answered in another issue:

Data needs to be flipped if it is in ascending order. When you are building the candle graphs with graphwerk.py you have to start with the data that is older. For example if the data is starting from day 1 and goes to day 5 then you don't need to flip the data. If its other way around then you need to flip it.

:)