Git Product home page Git Product logo

danielchristopher513 / stock_prediction_using_machine_learning Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 151 KB

This repository contains code for predicting stock prices using various machine learning models. The models implemented include Linear Regression, SVM Regression, KNN Regression, Kernel Ridge Regression, and Ridge Regression.

Jupyter Notebook 100.00%
machine-learning stock-price-prediction kernel-ridge-regression knn-regression linear-regression ridge-regression svm-regressor

stock_prediction_using_machine_learning's Introduction

Stock Prediction

This repository contains code for predicting stock prices using various machine learning models. The models implemented include Linear Regression, SVM Regression, KNN Regression, Kernel Ridge Regression, and Ridge Regression. The root mean square error (RMSE) values for each model are as follows:

  • Linear Regression: 7.70
  • SVM Regression: 7.86
  • KNN Regression: 10.666
  • Kernel Ridge Regression: 7.701
  • Ridge Regression: 7.708

Dataset

The dataset used for training and testing the models consists of historical stock price data. It contains the following columns:

  • Date: The date of the stock price data.
  • Open: The opening price of the stock.
  • High: The highest price of the stock during the day.
  • Low: The lowest price of the stock during the day.
  • Close: The closing price of the stock.
  • Volume: The trading volume of the stock.

Libraries Used

The following machine learning libraries were used in this project:

  • scikit-learn (sklearn): Used for implementing the machine learning models.
  • matplotlib: Used for visualizing the data and model predictions.
  • numpy: Used for numerical operations and array manipulation.
  • seaborn: Used for creating statistical visualizations.

stock_prediction_using_machine_learning's People

Contributors

danielchristopher513 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.