/Stock_analysis_Pandas_Scikit_Learn

Using Pandas and Scikit Learn to pull data from Yahoo Stock for analysis

Primary LanguageJupyter Notebook

Stock_analysis_Pandas_Scikit_Learn

Using Pandas and Scikit Learn to pull data from Yahoo Stock for analysis

This script is based on https://towardsdatascience.com/in-12-minutes-stocks-analysis-with-pandas-and-scikit-learn-a8d8a7b50ee7

I have modified the stock of interest to NXP Semiconductors N.V. (NXPI) which is compared against the following stocks: 1)AAPL
2)GOOG
3)MSFT
4)QCOM

The Quadratic Regression 2 with the highest confidence among the 4 regression models was choosen: 0.7919698975806313 Blue line shows the forecast based on Quadratic Regression 2, indicating a downward trend of the stock.

alt text