Skip to content

hllcbn/Stock-Prediction-With-Using-Machine-Learning-Algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Project : Stock Prediction With Using Machine Learning Algorithms

Table of Contents

Motivation

Descriptions

Installation

Data

Interacting with project

Licensing, Authors, and Acknowledgements

Motivation

This project is capstone of Udacity Data Science Nanodegree. The goal of the project is to predict stock prices using machine learning algorithms .

Descriptions

The project shows how the stock price is predicted by using Machine Learning Models . The project follows the steps below:

  1. Load historical stock price data from Yahoo Finance.

  2. Check for missing values and data cleaning.

  3. Process Exploratory Data Analysis.

  4. Perform data preparation and feature engineering for machine learning.

  5. Train the regression models.

  6. Validate the models.

  7. Select the best model and make a recommendation.

I use various machine learning models to see if they would preciously predict the stock price. These are the machine learning algorithms that I use in the project. Decision Tree Regressor, Support Vector Regressor(SVR), LassoCV, RidgeCV, Stochastic Gradient Descent(SGD). The best model will recommend the best stock price prediction for the investors.

Installation

• pandas

• numpy

• matplotlib

• sklearn

• seaborn

Data

Stock market historical data can be found from many places, but I choose to download from https://finance.yahoo.com/.
I select Adobe stock for this project and pull up the historical data from yahoo finance. It is easy to fetch all financial data from yahoo with yfinance module. I import the yfinance module with import yfinance as yf method. The data covers from 01-01-2010 to 06-17-2021.

Interacting with project

The main findings of the code can be found at the data science post available here

Licensing, Authors, and Acknowledgements

Thank to Udacity for a great project, and Yahoo.com for the dataset.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published