Data Science with Machine Learning - Stock Price Prediction Part 1
Pictorial Reference: https://www.informationweek.com/

Data Science with Machine Learning - Stock Price Prediction Part 1

The Latest flagship from my own digital lab is not a new thing to the world; but the real fun is the combination of data science with Machine Learning to obtain an output which is so scalable onto all spheres of knowledge. Machine Learning is a subset of Artificial Intelligence and one particular case that has really caught my attention is the ability to make out meaningful patterns out of unstructured and complex data sets.

We've been always taught in computer science fundamentals that any output from an information system is the application of human created rules applied to data to solve a specific problem. In this case, the scenario is reversed; it's the art of using data and solutions to derive the rules behind a problem.

So, let's jump straight to the real data sets that i've used. I have used Apple's closing stock price data from Jan 2011 to Jan 2021 [APPL as listed in NASDAQ]. The data sets have been classified accordingly using decision boundaries as deemed by myself. This is very dynamic and may be set as per the requirement of the one building the Machine Learning solution. The good thing about stock pricing is that we may get lots of data about prices, fundamentals, global macroeconomic indicators, volatility indices, etc online to use.

Once the data sets are collected and classified, the next step is to train the data. This is a crucial stage where by the Machine Learning algorithm actually learns the data. There are several ways to actually train a machine [naive-bayes, neural network, regression, supported vector machines etc..]; and in my case, i have used a supervised learning algorithm termed as Linear Regression. This algorithm gave me a probability of 99.997% accuracy whilst training the available datasets of Apple closing stock prices.

Below Table is a snapshot of my machine learning solution prediction price vis a vis the real closing stock price of Apple Inc as at 26 Feb 2021.

No alt text provided for this image

Now, after the training of our data sets, the next step is to test and evaluate the trained data. For this one, i used the ratio of 80% of trained data for testing and the remaining 20% for validation. This is a crucial step in finalizing any predictive machine learning tool as it helps to provide an unbiased evaluation of the final model fit on the training dataset.

No alt text provided for this image

Finally, after the testing and validation of my trained datasets, using the linear regression algorithm, my machine learning code is being coded to output me the Apple Stock Pricing up to May 2021. I shall demonstrate the predictive analysis breakdown of the stock time series data in part 2 of this blog. Stay tuned!

Atishay Sookun - 28 Feb 2021


Yanish Mayvin Ramdenee

Head Investor Services Operations and Projects

4 年

Atishay..we need to speak. I am interested in what you are doing and eager to see the forthcoming results. I have been studying jump diffusion models to predict time series and derivatives pricing in early days. I can recognize talent and great mind bro. Keep up the research and let's talk.. cheers

Krishnaveni Govinda

Credit Risk & Monitoring Lead at SBM Bank (Mauritius) Ltd

4 年

Interesting read. U can get into model coding??

Sameer Hosameea

Banking and Operations; Payment Card Specialist; Strategic & Innovative

4 年

Cant wait to see the predictive results

要查看或添加评论,请登录

Atishay .D. Sookun的更多文章

  • Simplifying ..the simple metric for High Performing Team

    Simplifying ..the simple metric for High Performing Team

    Dear Reader, i am doped on caffeine at the moment; in my quest to build a machine learning model on portfolio analysis…

    2 条评论
  • Staying Ahead of Curve - Forging relationship in Banking

    Staying Ahead of Curve - Forging relationship in Banking

    I intend to start this blog by saying how annoying it is becoming for me to establish relationship in banking today…

    1 条评论
  • Ethics in AI - Considerations

    Ethics in AI - Considerations

    My first article for 2023 was meant to be special and intrinsic; being very much in line with the latest buzz going…

    5 条评论
  • Innovation to Disinflation

    Innovation to Disinflation

    This is a topic which has been in my mind for quite some time! Putting it into some words to reflect upon. I believe we…

    1 条评论
  • Modernizing existing software - A viable approach !

    Modernizing existing software - A viable approach !

    We have all heard the phrase coined around mid 2000’s that 'Software is eating the world’. But the real question…

    2 条评论
  • Gig Ecosystem – My adaptation drill

    Gig Ecosystem – My adaptation drill

    Been in a state of oblivion but still here’s my first one for 2022 ! The GIG economy is teaching all of us lessons on…

  • Sustainability in Technology - An unreal Oxymoron

    Sustainability in Technology - An unreal Oxymoron

    No! Don’t be wary about the title at all. It’s just me who is more sensible towards sustainability now.

  • Technical Debt - The Need for Speed!

    Technical Debt - The Need for Speed!

    Today, i am writing about a very specific situation which is prevalent in our day to day tech world. Some term this…

    4 条评论
  • PORTABILITY as a service !

    PORTABILITY as a service !

    Way back in 2013, during my tenure in the Telco industry, we were mandated to roll out the 8-Digit numbering from the…

  • Cash - The Ailed King

    Cash - The Ailed King

    It’s been long time since i barely wrote something which seriously flight fancied my brain. The Covid-19 pandemic has…

    3 条评论

社区洞察

其他会员也浏览了