AI and Machine Learning fundamentals using Python
During this three-day hands-on ABIS training, you learn to analyse data and build AI models by using ML tools with Python like scikit-learn.
Artificial Intelligence (AI) promises us that, provided we have large amounts of relevant data (text, images, sales details, website click events, ...) available, it can build a model from it. A model is a simplified representation of reality that allows us describe, explain, and even predict phenomena. Actually, the model detected re-occurring "patterns" in the data, or more specifically relationships between the data "features". So it can now "guess" (or predict) a target feature (next word, pixel, per-product sales prognosis, break-in attempt, ...) from the rest of the data, e.g. generate new texts and images or trigger alarms.
The semi-automated process of training (i.e.: learning) and making available AI models is called Machine Learning (ML):
- First, relevant data must be collected, and organized in so-called Data Frames.
- Then, the data is passed through a set of standard, established ML algorithms to build a first version of the data model.
- Next, the model should be evaluated to ensure it performs well on unseen validation data, i.e.: to minimize prediction error.
- A suboptimal model needs to be improved by starting over: adding new data sources, applying other ML algorithms, changing algorithm parameters, ...
This can of course be a highly time consuming (but largely automatic) process, depending on the size of your training data. - It might help to visualize the data, in order to help this process (like selecting data features, algorithms, or parameters).
- When ready (and promising), the model can now be deployed outside the ML setup, for prediction, explanation, or decision-making.
(A "running" model is relatively lightweight, and can continuously generate predictions on new incoming data.)
This process applies across disciplines, from physics and economics to image processing and language.
Established machine learning algorithms have been developed over the past decades, and were implemented in several languages. Today, Python, and more specifically packages like scikit-learn and PyTorch are very popular and user-friendly front-ends to this large collection of available algorithms. Data in any (file) format can easily be loaded into a Python (Pandas) Data Frame, split into training and validation data, and passed though the building and evaluation process. Python also easily allows to visualize a Data Frame.
One of the simplest and most fundamental machine learning models is linear regression. This model assumes that the relationship between input features and target feature can be expressed as a weighted sum of the inputs. Training a linear regression model means finding the weights that minimize the prediction error. Although often too simplistic on its own, linear regression is crucial as a building block: more advanced models often use it internally since its modeling is fast, and moreover it tends to avoid overfitting to the training data (which would make models less predictive on new, unseen data).
Artificial neural networks extend the logic of linear regression into a far more flexible and powerful framework. Inspired by biological neurons, these models consist of layers of interconnected nodes, each of which processes inputs through a weighted sum and a nonlinear activation function. Hidden layers transform the input into increasingly abstract representations, allowing the network to capture complex, nonlinear relationships. Neural networks perform so-called deep learning, and provide the foundation for much of modern artificial intelligence.
Neural networks can be built in Python with e.g. the PyTorch package. The process of building and evaluating them is of course more time and memory consuming, but promises remarkably good results, especially in the areas of image processing (e.g. surveillance camera data) and natural language processing (NLP), with so-called large language models (LLMs).
- This course will get you started with the elementary practical aspects of Artificial Intelligence (AI) and Machine Learning (ML).
- The essential steps in the ML process will be covered in detail: obtaining and organizing data, selecting a model family, training the model, validating its quality, finding optimal model parameters, and possibly starting over by selecting additional data.
- We will put this knowledge into practice by building (and using) our own machine learning models in Python with scikit-learn, a popular library for ML.
- We''ll also briefly look into neural networks, and the Python package PyTorch.
Schedule a training?
Delivered as a live, interactive training – available in-person or online, or in a hybrid format. Training can be implemented in English, Dutch, or French.
REQUEST IN-COMPANY TRAINING |
Public training calendar | |||||
---|---|---|---|---|---|
date | dur. | lang. | location | price | |
12 Nov | 3 | web based | 2055 EUR (excl. VAT) | ||
12 Nov | 3 | Leuven | 2055 EUR (excl. VAT) | ||
SESSION INFO AND ENROLMENT |
Intended for
Anyone that needs the hands-on with machine learning to solve real-life problems.
Background
Good knowledge of the Python programming language is a prerequisite (see Python fundamentals). Knowledge of Pandas (see course Python for data analytics) and of Jupyter Notebook is an advantage.
Main topics
- Overview of the data pipeline process for creating and deploying AI models.
- Basic concepts & techniques in AI and Machine Learning:
- Supervised learning versus unsupervised learning
- Training & testing data; cross-validation
- Accuracy; confusion matrix
- Under-fitting versus over-fitting; the bias–variance trade-off
- Regularisation
- Automating the model selection process: validation curves
- The different model types to be trained with Machine Learning:
- Predicting a continuous feature: e.g. polynomial regression, Ridge regression
- Classification: e.g. logistic regression, anomaly detection, decision trees, random forests
- Clustering: e.g. K-means
- Dimensionality reduction: PCA & LDA
- A short introduction into neural networks and deep learning
- Building, validating and using Machine Learning models with scikit-learn
Training method
Classroom teaching, focused on practical examples and supported by in-depth exercises and individual practice.
Certificate
At the end of the session, the participant receives a "Certificate of Completion".
Duration
3 days.
Course leader
Peter Vanroose (ABIS).
Reviews
4.0/5 (based on 15 evaluations; the most recent ones are shown below)
|
It was a good course for anyone who does want to start machine learning.
| (N.N., Rabobank Nederland, ) |
I enjoyed the course it provided a very good introduction into the different aspects of ML
| (Alastair Grant, Rabobank Nederland, ) |
Excellent trainer with in-depth knowledge and excellent interpersonal skills. Course did holistic coverage of ML life cycle, that was great.
| (Nipun Bahri, Rabobank Nederland, ) |
the explanation of the course is clear and exercise is good and handable
| (N.N., Rabobank Nederland, ) |
Peter is an amazing instructor. Course is awesome.
| (N.N., Rabobank Nederland, ) |
Coherent, focused, hands on
| (Fasihul Islam, Rabobank Nederland, ) |
Also interesting
Enrollees for this training also took the following courses:
SESSION INFO AND ENROLMENT |