From Finance and Accounting to Data Science : Machine Learning
With the rapid increase in the amount of data available, there is huge potential for Machine Learning (ML) to transform the finance industry.
ML is the science of teaching a computer how to automatically learn (and improve) how to make accurate predictions using data.
In this article, I will explain 3 key things:
- Use Cases of Machine Learning in Finance
- Study Plan for Machine Learning
- How to Develop a machine learning model?
But first, just a little bit about me.

About Me
My name is Christian Martinez and I am the International Finance Automation Manager for Kraft Heinz and Founder of a side project called The Financial Fox.
My background is in Finance and Accounting but I successfully transition to Data Science and Automation. I use data analytics and automation tools such as Python, Tableau, Alteryx, Power BI, SQL, Excel with VBA, and R to build and improve on the existing productivity-reporting infrastructure across Kraft Heinz International Zone (LATAM/EUROPE/ASIA/PACIFIC).
This role is part of the Finance team in close collaboration with business stakeholders and functions like Manufacturing, Logistics, Procurement, R&D, Quality, ORM — supporting their decision-making using analytics and data.
I am a finalist in the Young Leaders in Finance Awards 2018 ; Marathon Finisher and World traveler (have been in 65+ countries and always planning next adventure!).
Feel free to connect with me in LinkedIn!

Use Cases of Machine Learning in Finance
In the past decade, machine learning has given us self-driving cars, practical speech recognition, effective web search, and a vastly improved understanding of the human genome. All of those use cases are great, but what about use cases of machine learning in Finance?
Machine Learning can be used for:
- Portfolio management: One use case is to use ML to program “Robo-advisors” which are online applications that provide automated financial guidance.
- Sentiment Analysis: There is an enormous volume of unstructured data like videos, photos, social media posts, presentations, pdfs that can help determine the market sentiment. All of this data is too big to handle for a human so a computer do a much better job at classifying and analyzing so humans can make data driven decisions.
- Algorithmic Trading: One of the most popular use cases of ML in finance is to program algorithms to conduct trades autonomously. You program the algorithm to learn from past performance and from itself so you can try to outperform the market.
- Money Laundering Prevention and Cyber-Security: You can use ML to collect internal and public information from a network to spot money laundering signs and prevent fraud.

Study Plan for Machine Learning
There is a lot of information about Machine Learning online and in most cases it’s FREE! The problem is that it is fragmented. I tried to compile a guide of 10 resources to get you to learn and use Machine Learning in Finance in 10 weeks!
This guide assumes that you do not know anything about machine learning (except what you read above).
Week 1:
Week 2:
Week 3:
Week 4:
Week 5 and 6:
Try to do as much projects as possible! Some ideas here:
- Stock Prices Prediction: Predicting stock prices is a challenging task that can be improved with machine learning. There are two main approaches to predicting the stock price: Technical analysis method uses metrics like closing and opening price, the volume traded, adjacent close values etc. of the stock for prediction, whereas qualitative analysis looks at external factors like company profile, market situation, political and economic factors, textual information in news, social media and even blogs by the economic analyst. This academic paper outlines how to predict the Stock Closing Price using Machine Learning. For data, I recommend to start with this Kaggle competition dataset.
- Inventory Demand Forecasting: Accurate predictions in demand forecasting can improve the financial results of a company and they can be made through the application of relevant machine learning algorithms such as Bagging, Boosting, XGBoost, Gradient Boosting Machine (GBM), Support Vector Machines, and many more. I found this website that outlines how to develop ML models for this problem in R.
- Sentiment Analysis: As we discussed above, there is an enormous volume of unstructured data like videos, photos, social media posts, presentations, pdfs that can help determine the market sentiment. All of this data is too big to handle for a human so a computer do a much better job at classifying and analyzing so humans can make data driven decisions. In this video below, you can learn how to perform sentiment analysis using Python and Twitter data.








