Kaylah072001 commited on
Commit
33b4d3f
·
verified ·
1 Parent(s): 53ff927

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +54 -87
README.md CHANGED
@@ -1,90 +1,57 @@
1
- ---
2
- datasets:
3
- - Kaylah072001/Stock_Graphs_Dataset
4
- metrics:
5
- - accuracy
6
- ---
7
- stock_trend_analysis:
8
- model:
9
- architecture:
10
- image_branch:
11
- input_shape: [150, 150, 3]
12
- layers:
13
- - Conv2D_1:
14
- filters: 32
15
- kernel_size: [3, 3]
16
- activation: relu
17
- - MaxPooling2D_1:
18
- pool_size: [2, 2]
19
- - Conv2D_2:
20
- filters: 64
21
- kernel_size: [3, 3]
22
- activation: relu
23
- - MaxPooling2D_2:
24
- pool_size: [2, 2]
25
- - Conv2D_3:
26
- filters: 128
27
- kernel_size: [3, 3]
28
- activation: relu
29
- - MaxPooling2D_3:
30
- pool_size: [2, 2]
31
- - Flatten
32
 
33
- numerical_branch:
34
- input_shape: [5] # 5 technical indicators
35
- layers:
36
- - Dense:
37
- units: 64
38
- activation: relu
39
 
40
- combined_layers:
41
- - Dense:
42
- units: 128
43
- activation: relu
44
- - Dense:
45
- units: 1
46
- activation: sigmoid
 
 
 
 
 
 
 
47
 
48
- data_generator:
49
- class: CombinedDataGenerator
50
- parameters:
51
- batch_size: 32
52
- img_size: [150, 150]
53
- shuffle: true
54
-
55
- feature_extraction:
56
- image_processing:
57
- - grayscale_conversion
58
- - edge_detection:
59
- method: Canny
60
- threshold1: 50
61
- threshold2: 150
62
- - line_detection:
63
- method: HoughLinesP
64
- min_line_length: 20
65
- max_line_gap: 5
66
-
67
- technical_indicators:
68
- - slope:
69
- method: polyfit
70
- degree: 1
71
- - volatility:
72
- method: standard_deviation
73
- - trend_strength:
74
- method: mean_absolute_diff
75
- - momentum:
76
- method: price_difference
77
- period: 10
78
- - support_resistance:
79
- method: min_max_difference
80
-
81
- training:
82
- optimizer: adam
83
- loss: binary_crossentropy
84
- metrics: [accuracy]
85
-
86
- requirements:
87
- - tensorflow
88
- - opencv-python
89
- - numpy
90
- - scikit-learn
 
1
+ architecture:
2
+ image_branch:
3
+ input_shape: [150, 150, 3]
4
+ layers:
5
+ - Conv2D_1:
6
+ filters: 32
7
+ kernel_size: [3, 3]
8
+ activation: relu
9
+ - MaxPooling2D_1:
10
+ pool_size: [2, 2]
11
+ - Conv2D_2:
12
+ filters: 64
13
+ kernel_size: [3, 3]
14
+ activation: relu
15
+ - MaxPooling2D_2:
16
+ pool_size: [2, 2]
17
+ - Conv2D_3:
18
+ filters: 128
19
+ kernel_size: [3, 3]
20
+ activation: relu
21
+ - MaxPooling2D_3:
22
+ pool_size: [2, 2]
23
+ - Flatten
 
 
 
 
 
 
 
 
24
 
25
+ numerical_branch:
26
+ input_shape: # 6 technical indicators
27
+ layers:
28
+ - Dense:
29
+ units: 64
30
+ activation: relu
31
 
32
+ combined_layers:
33
+ - Dense:
34
+ units: 128
35
+ activation: relu
36
+ - Dense:
37
+ units: 1
38
+ activation: sigmoid
39
+ image_augmentation:
40
+ - rescale: 1./255
41
+ - rotation_range: 10
42
+ - width_shift_range: 0.1
43
+ - height_shift_range: 0.1
44
+ - zoom_range: 0.1
45
+ - horizontal_flip: true
46
 
47
+ technical_indicators:
48
+ - RSI:
49
+ method: ta.momentum.RSIIndicator
50
+ - MACD:
51
+ method: ta.trend.MACD
52
+ - Bollinger_Bands:
53
+ method: ta.volatility.BollingerBands
54
+ - ATR:
55
+ method: ta.volatility.AverageTrueRange
56
+ - OBV:
57
+ method: ta.volume.OnBalanceVolumeIndicator