Skip to content

Commit

Permalink
Merge branch 'rohitinu6:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
spandana2004 authored Oct 31, 2024
2 parents 3269dac + 137988b commit 2d4c107
Show file tree
Hide file tree
Showing 13 changed files with 1,728 additions and 1,435 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/issue_labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/labels \
-d '{
"name": "level?",
"name": "level1",
"color": "5319e7",
"description": "Placeholder for difficulty level"
}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_raise_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
COMMENT=$(cat <<EOF
{
"body": "Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our chaotic [CONTRIBUTING.md](https://github.com/vansh-codes/ChaosWeb/blob/main/CONTRIBUTING). If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊"
"body": "Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our [CONTRIBUTING.md](https://github.com/vansh-codes/ChaosWeb/blob/main/CONTRIBUTING). If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊"
}
EOF
)
Expand Down
1,328 changes: 646 additions & 682 deletions .ipynb_checkpoints/stock_market(complete)-checkpoint.ipynb

Large diffs are not rendered by default.

369 changes: 369 additions & 0 deletions .ipynb_checkpoints/stock_sentimental-checkpoint.ipynb

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions PROJECT_STRUCTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
├── images/
│ ├── 085ee2d1-3544-4bed-a558-5b0b801e806b.jpeg
│ ├── 6c9ebb5b-a8ed-44de-8842-bf8f5c25990f.jpeg
│ ├── Screenshot 2024-10-25 194943.png
│ └── f23e9194-72de-438d-bd69-744667680d3e.jpeg
├── main.py
├── nifty_500.csv
Expand All @@ -85,6 +86,7 @@
├── repo_structure.txt
├── requirements.txt
├── sentiment_model.h5
├── sentiment_model.keras
├── static/
│ └── css/
│ ├── home.css
Expand Down
38 changes: 24 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">

## 📈 Stock Price Prediction
<a href="https://git.io/typing-svg"><img src="https://readme-typing-svg.herokuapp.com?font=Comfortaa&size=30&duration=4000&pause=1000&color=F7F7F7&background=FFFFFF00&width=435&lines=%F0%9F%93%88+Stock+Price+Prediction" alt="Typing SVG" /></a>

![Stock Prediction Model](https://raw.githubusercontent.com/alo7lika/Stock-Price-Prediction/refs/heads/main/InvestWise%20-%20Stock%20Prediction%20Model.png)
![Stock Prediction Model](https://github.com/Karthik3904/Stock-Price-Prediction/blob/update-readme/images/Screenshot%202024-10-25%20194943.png)

</div>

Expand Down Expand Up @@ -51,10 +51,11 @@ Check the project structure here [Project Structure](PROJECT_STRUCTURE.md)
14. [📝 License](#-license)

---
## 🌞 Overview
This project aims to predict the stock prices of **The State Bank of India (SBI)** using various machine learning regression algorithms. By leveraging historical stock data sourced from Yahoo Finance, this project provides insights into the performance of different regression models in stock price prediction for SBI.

## 🌟 Overview
The primary objective is to compare model accuracy and performance metrics, such as RMSE, MAE, and MAPE, across multiple algorithms, ultimately identifying the most suitable regression approach for stock price forecasting.

This project focuses on predicting the stock prices of **The State Bank Of India** using machine learning regression algorithms. The dataset was collected from Yahoo Finance and contains historical stock data.

## 🛠️ Features

Expand Down Expand Up @@ -96,14 +97,21 @@ The dataset used in this project is sourced from Yahoo Finance and includes hist
📋 requirements.txt # List of dependencies needed to run the project.


## 🚀 How to Run
## 🚀 How to Run `main.py`
**Steps**:
1.**If Flask is not installed, install it**:
```bash
pip install flask
```
2.**Install dependencies using**:
```bash
pip install -r requirements.txt
```
3.**Run the Flask app**:
```bash
python main.py
```

1. Install dependencies using:
```bash
pip install -r requirements.txt
```
2. Execute the notebooks in the `notebooks/` folder in the given order.
3. Run the scripts in the `src/` folder for further analysis or model training.

## 📈 Results

Expand All @@ -123,15 +131,17 @@ The sequence of all the algorithms used is as follows:
## 📊 Performance Metrics

The **Root Mean Square Error (RMSE)** of all the following 10 Regression Algorithms is provided below:
![image](images\f23e9194-72de-438d-bd69-744667680d3e.jpeg)
<img src="images/f23e9194-72de-438d-bd69-744667680d3e.jpeg" alt="Performance-Metrices" width="400" height="300">


The **Mean Absolute Error (MAE)** of all the following 10 Regression Algorithms is provided below:

![image](images\085ee2d1-3544-4bed-a558-5b0b801e806b.jpeg)
<img src="images/085ee2d1-3544-4bed-a558-5b0b801e806b.jpeg" alt="Performance-Metrices" width="400" height="300">


The **Mean Absolute Percentage Error (MAPE)** of all the following 10 Regression Algorithms is provided below:

![image](images\6c9ebb5b-a8ed-44de-8842-bf8f5c25990f.jpeg)
<img src="images/6c9ebb5b-a8ed-44de-8842-bf8f5c25990f.jpeg" alt="Performance-Metrices" width="400" height="300">


## 🔮 Future Work
Expand Down
2 changes: 1 addition & 1 deletion candlestick_chart.html

Large diffs are not rendered by default.

Binary file added images/Screenshot 2024-10-25 194943.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions repo_structure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
├── images/
│ ├── 085ee2d1-3544-4bed-a558-5b0b801e806b.jpeg
│ ├── 6c9ebb5b-a8ed-44de-8842-bf8f5c25990f.jpeg
│ ├── Screenshot 2024-10-25 194943.png
│ └── f23e9194-72de-438d-bd69-744667680d3e.jpeg
├── main.py
├── nifty_500.csv
Expand All @@ -81,6 +82,7 @@
├── repo_structure.txt
├── requirements.txt
├── sentiment_model.h5
├── sentiment_model.keras
├── static/
│ └── css/
│ ├── home.css
Expand Down
Binary file modified sentiment_model.h5
Binary file not shown.
Binary file added sentiment_model.keras
Binary file not shown.
1,264 changes: 615 additions & 649 deletions stock_market(complete).ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 2d4c107

Please sign in to comment.