I used to play in metal bands, but I’d never been called a Rockstar after a presentation before! 🎸
What I wanted people to take away was this:
“Knowledge of what’s available now, so you can make best use of the AI tools available today, whilst allowing you to better prepare for the future.”
Machine Learning vs Generative AI
It’s easy to get confused about the different types of AI and their applications in finance.
So here’s a quick summary:
- Machine Learning (ML) - ML allows you to deploy algorithms that will spot patterns in your data. You can use it to spot datapoints that don’t follow the trend (called outliers) or make predictions or forecast future trends using the patterns in historical data
- Generative AI - Is a branch of AI that uses a sub-set of Machine Learning called ‘Deep Learning’ that uses MASSIVE amounts of data to train the model. It can then use this training data to create human like responses based on the themes it sees in it’s training data.
The uses case I focused on for Machine Learning was spend and revenue forecasting.
The use case I focused on for Generative AI was expense categorisation.
You’ll be able to find further resources at the end of the newsletter showing these examples.
Framework 1 - Machine Learning
1. Clean Data
Everything starts with data. I my example I took dummy data from Sage Intacct (supplier invoice data) and made sure it was formatted to include tidy dates, and monetary amounts. My revenue forecast was slightly different as this used random data that I generated with Python.
2. Load to DataFrame
Then I loaded my data into a DataFrame. I used AI to produce the Python code, and load it into the DataFrame using the Pandas Python library (for data formatting), ensuring the ‘Date’ column was recognised as a time series, and that the ‘Amount’ column was recognised as a Float (number).
3. Training the Model
I then got AI to tell me how to train the ARIMA model (the one it suggested for time series analysis). ARIMA requires a training step, before you can use it to create a forecast. But not all models require training. Prophet, which I used next, doesn’t require this training step.
4. Running the Forecast
You then need to run the code to actually create the forecast, but just running the forecast will not produce a visualisation.
5. Visualisation
I then used Matplotlb (for visualisation) and Plotly Dash (for dashboards) to visualise my data and create dashboards.
You’ll see this in the Presentation / Google Colab links I’ve provided at the end.
|