NabeelShar commited on
Commit
8351942
1 Parent(s): df53986

Upload 6 files

Browse files
README.md ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - ultralyticsplus
4
+ - yolov8
5
+ - ultralytics
6
+ - yolo
7
+ - vision
8
+ - object-detection
9
+ - pytorch
10
+ - finance
11
+ - stock market
12
+ - candlesticks
13
+ - pattern recognition
14
+ - option trading
15
+ - chart reader
16
+ - future stock prediction
17
+ - trends prediction
18
+ library_name: ultralytics
19
+ library_version: 8.0.43
20
+ inference: false
21
+ model-index:
22
+ - name: foduucom/stockmarket-future-prediction
23
+ results:
24
+ - task:
25
+ type: object-detection
26
+ metrics:
27
+ - type: precision
28
+ value: 0.649
29
+ name: mAP@0.5(box)
30
+ language:
31
+ - en
32
+ pipeline_tag: object-detection
33
+ ---
34
+
35
+
36
+ <div align="center">
37
+ <img width="640" alt="foduucom/product-detection-in-shelf-yolov8" src="https://huggingface.co/foduucom/stockmarket-future-prediction/resolve/main/_Stockmarket-Future-Prediction.jpeg">
38
+ </div>
39
+ # Model Card for YOLOv8s Stock Market future trends prediction on Live Trading Video Data
40
+
41
+ ## Model Summary
42
+
43
+ The YOLOv8s Stock Market future trends prediction model is an object detection model based on the YOLO (You Only Look Once) framework. It is designed to detect various chart patterns in real-time stock market trading video data. The model aids traders and investors by automating the analysis of chart patterns, providing timely insights for informed decision-making. The model has been fine-tuned on a diverse dataset and achieved high accuracy in detecting and classifying stock market future trend detection in live trading scenarios.
44
+
45
+ ## Model Details
46
+
47
+ ### Model Description
48
+ The YOLOv8s Stock Market future trends prediction model offers a transformative solution for traders and investors by enabling real-time detection of crucial chart patterns within live trading video data. As stock markets evolve rapidly, this model's capabilities empower users with timely insights, allowing them to make informed decisions with speed and accuracy.
49
+
50
+ The model seamlessly integrates into live trading systems, providing instant trends prediction and classification. By leveraging advanced bounding box techniques and pattern-specific feature extraction, the model excels in identifying patterns such as 'Down','Up'. This enables traders to optimize their strategies, automate trading decisions, and respond to market trends in real-time.
51
+
52
+ To facilitate integration into live trading systems or to inquire about customization, please contact us at info@foduu.com. Your collaboration and feedback are instrumental in refining and enhancing the model's performance in dynamic trading environments.
53
+
54
+ - **Developed by:** FODUU AI
55
+ - **Model type:** Object Detection
56
+ - **Task:** Stock Market future trends prediction on Live Trading Video Data
57
+
58
+ The YOLOv8s Stock Market Pattern Detection model is designed to adapt to the fast-paced nature of live trading environments. Its ability to operate on real-time video data allows traders and investors to harness pattern-based insights without delay.
59
+
60
+ ### Supported Labels
61
+
62
+ ```
63
+ ['Down','Up']
64
+ ```
65
+
66
+ ## Uses
67
+
68
+ ### Direct Use
69
+
70
+ The YOLOv8s Stock Market future trends prediction model can be directly integrated into live trading systems to provide real-time detection and classification of chart patterns or classify the upcoming trends. Traders can utilize the model's insights for timely decision-making.
71
+
72
+ ### Downstream Use
73
+
74
+ The model's real-time capabilities can be leveraged to automate trading strategies, generate alerts for specific patterns or trends, and enhance overall trading performance.
75
+
76
+ ### Out-of-Scope Use
77
+
78
+ The model is not designed for unrelated object detection tasks or scenarios outside the scope of stock market trends prediction in live trading video data.
79
+
80
+ ## Bias, Risks, and Limitations
81
+
82
+ The YOLOv8s Stock Market future prediction model may exhibit some limitations and biases:
83
+
84
+ - Performance may be affected by variations in video quality, lighting conditions, and pattern complexity within live trading data.
85
+ - Rapid market fluctuations and noise in video data may impact the model's accuracy and responsiveness.
86
+ - Market-specific patterns or anomalies not well-represented in the training data may pose challenges for detection.
87
+
88
+ ### Recommendations
89
+
90
+ Users should be aware of the model's limitations and potential biases. Thorough testing and validation within live trading simulations are advised before deploying the model in real trading environments.
91
+
92
+ ## How to Get Started with the Model
93
+
94
+ To begin using the YOLOv8s Stock Market future prediction model on live trading video data, follow these steps:
95
+ ```bash
96
+ pip install ultralyticsplus==0.0.28 ultralytics==8.0.43
97
+ ```
98
+
99
+ - Load model and perform real-time prediction:
100
+
101
+ ```python
102
+ from ultralyticsplus import YOLO, render_result
103
+ import cv2
104
+
105
+ # load model
106
+ model = YOLO('foduucom/stockmarket-future-prediction')
107
+
108
+ # set model parameters
109
+ model.overrides['conf'] = 0.25 # NMS confidence threshold
110
+ model.overrides['iou'] = 0.45 # NMS IoU threshold
111
+ model.overrides['agnostic_nms'] = False # NMS class-agnostic
112
+ model.overrides['max_det'] = 1000 # maximum number of detections per image
113
+
114
+ # set image
115
+ image = '/path/to/your/document/images'
116
+
117
+ # perform inference
118
+ results = model.predict(image)
119
+
120
+ # observe results
121
+ print(results[0].boxes)
122
+ render = render_result(model=model, image=image, result=results[0])
123
+ render.show()
124
+ ```
125
+
126
+ ## Training Details
127
+
128
+ ### Training Data
129
+
130
+ The model is trained on a diverse dataset containing stock market chart images with various chart patterns, capturing different market conditions and scenarios.
131
+
132
+ ### Training Procedure
133
+
134
+ The training process involves extensive computation and is conducted over multiple epochs. The model's weights are adjusted to minimize detection loss and optimize performance for stock market pattern detection.
135
+
136
+ #### Metrics
137
+
138
+ - mAP@0.5 (box): 0.65
139
+ - All patterns: 0.90
140
+ - Individual patterns: Varies based on pattern type
141
+
142
+ ### Model Architecture and Objective
143
+
144
+ The YOLOv8s architecture incorporates modifications tailored to stock market future prediction. It features a specialized backbone network, self-attention mechanisms, and trends-specific feature extraction modules.
145
+
146
+ ### Compute Infrastructure
147
+
148
+ #### Hardware
149
+
150
+ NVIDIA GeForce RTX 3080 card
151
+
152
+ #### Software
153
+
154
+ The model was trained and fine-tuned using a Jupyter Notebook environment.
155
+
156
+ ## Model Card Contact
157
+
158
+ For inquiries and contributions, please contact us at info@foduu.com.
159
+
160
+ ```bibtex
161
+ @ModelCard{
162
+ author = {Nehul Agrawal and
163
+ Rahul parihar},
164
+ title = {YOLOv8s Stock Market future prediction on Live Trading Video Data},
165
+ year = {2023}
166
+ }
167
+ ```
_Stockmarket-Future-Prediction.jpeg ADDED
best.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f3a852355cb16af025f6c077d0b44ca86a50c2ab56053fa1a1f90f168f45d4d
3
+ size 22509112
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"input_size": 640, "task": "object-detection", "ultralyticsplus_version": "0.0.28", "ultralytics_version": "8.0.43", "model_type": "v8", "score_map50": 0.663
events.out.tfevents.1695811408.pcai-B450M-DS3H-V2.7439.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79348140ee0d0ba90c14845481581465c5d443439af0a5ab6f462bf0a75ce394
3
+ size 583936