stvschmdt / FinNet

Learning networks for financial images
0 stars 0 forks source link

create labels for np data #7

Open stvschmdt opened 6 years ago

stvschmdt commented 6 years ago

when running image_creator, files are created (.npy) with a naming convention 0...n. There should also be a similarly named file with a 2-D np array with labels for n+x days out.

if an image (graph) is from day 0 - day 4 (n=5), then the label (a variable x days out) should be the max % change up or down: max value in day 5, 6 divided by close of day 4...along with min

[[ 1.3, 2.4, .7, .5, 1.1] [-1.2, -.7, -.1, -.3, -2.1]]

jasonwlw commented 6 years ago

I used a flattened array to append an array shape (in order to recreate the image) and a label of the percent difference between n day close and n+x maximum value. Is there going to be two labels, one for the n+x day max and n+x day min?