Skip to content

Small doubts about project "Encoding Candlesticks as Images for Patterns Classification Using Convolutional Neural Networks" #10

@belomx

Description

@belomx

Hi,

I am trying to use this project ("Encoding Candlesticks as Images for Patterns Classification Using Convolutional Neural Networks") to Patterns Classification it looks super cool, however I am not able to understand the label arr's.
Exemple:

ploted candles val_data:

  10.00 ┤        ╭╮
   9.00 ┤ ╭╮     ││
   8.00 ┤ ││   ╭╮││
   7.00 ┤ ││   ││││╭╮
   6.00 ┤ │╰╮  ││││││ ╭
   5.00 ┤ │ │ ╭╯╰╯│││╭╯
   4.00 ┤╭╯ │╭╯   ││││
   3.00 ┼╯  ││    ││││
   2.00 ┤   ╰╯    ╰╯╰╯
-----------------------------------
        0 1 2 3 4 5 6 7 8

val_label_arr

0 - [ 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
1 - [ 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
2 - [ 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
3 - [ 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
4 - [ 0, 0, 1, 0, 0, 0, 0, 0, 0 ]
5 - [ 0, 0, 1, 0, 0, 0, 0, 0, 0 ]
6 - [ 0, 0, 1, 0, 0, 0, 0, 0, 0 ]
7 - [ 0, 0, 0, 0, 1, 0, 0, 0, 0 ]
8 - [ 0, 0, 0, 0, 1, 0, 0, 0, 0 ]

In the val_label_arr there is an array[n, 9], in these 9 collumns what the value 1 means for each one of these collumns? And what's the relation with the val_data array?
Also, where the label8_eurusd_10bar_1500_500_val200_gaf_culr.pkl file come from, and how it's built?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions