rohitinu6 / Stock-Price-Prediction

This project focuses on predicting the stock prices of "The State Bank Of India" using machine learning Regression algorithms.
7 stars 21 forks source link
gssoc-ext hacktoberfest hacktoberfest-accepted machine-learning regression rohitinu6 stock-data stock-price-prediction

Stock Price Prediction Project

Overview

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

Algorithms Used

Dataset

The dataset used in this project is sourced from Yahoo Finance and includes historical stock data for "The State Bank Of India." It comprises relevant features such as Open, High, Low, Close prices, and volume.

Project Structure

How to Run

  1. Install dependencies using 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

The sequence of all the algorithms used is as follows:

  1. Linear Regression
  2. SVR
  3. Random Forest
  4. Gradient Boosting Models (GBM)
  5. Extreme Gradient Boosting (XGBoost)
  6. AdaBoostRegressor
  7. Decision Tree
  8. KNeighborsRegressor(KNN)
  9. Artificial Neural Networks (ANN)
  10. LSTM(Long Short term Memory)

The Accuracy of all the following 10 Regression Algortihms is provided below:

image

The RMSE of all the following 10 Regression Algortihms is provided below:

image

The MAE of all the following 10 Regression Algortihms is provided below:

image

The MAPE of all the following 10 Regression Algortihms is provided below:

image

The Precision of all the following 10 Regression Algortihms is provided below:

image

The Recall of all the following 10 Regression Algortihms is provided below:

image

Future Work

Conclusion

Author

Rohit Dubey

License

This project is licensed under the MIT License.