Using General Linear Models for Machine Learning

Using General Linear Models for Machine Learning

Understanding linear models is the key to unlocking the full power of machine learning.

⏰ 3 h 25 min | 13 lessons
Published: August 2023
4.50
Access our growing course library
$ 20 / month (billed annually)
After completing this course, you will...
Be an expert on the most important machine learning model: the linear model.
See how linear assumptions may be used to solve non-linear problems.
Have learnt core principles in a tangible way, ready to take with you to more complex models.
Have practiced deploying general linear models for your own projects.
COURSE OVERVIEW

Ok, linear models might not seem that exciting. People think at first that they're just straight lines...this is so wrong, I love them! They provide the basics you need to understand advanced topics like deep neural networks or Gaussian Processes. To be honest, they underpin everything in ML.

In this final section, we will work through the key concepts of fitting both Linear and Generalised Linear Models (GLMs). We will talk about feature selection - which includes Predictive Power Score (or PPS) and Principle Component Analysis (PCA). We'll also cover the important topic of over-fitting and how we address this using regularisation methods.

We'll be playing in ninja mode; so the gloves come off in this course to wrestle with the ultimate machine learning model: the linear model. Plenty of reasons for taking a deep dive here:

  1. This is an intuitive tangible model on which to build fundamental concepts.
  2. We can adapt the linear model to solve more complicated problems--hence the general linear model.
  3. We can even develop an intuitive approach to classification problems with this model.
  4. The linear model is the ultimate explainable model.

We shall also review key ideas in data analysis such as Principle Component Analysis (PCA); under-fitting, over-fitting and Regularisation; and Correlation in data.

We will keep our focus on useful insights and practical tips in order to become a full-blown ninja when using general linear models in your own projects.

In this course we will cover:

  • An intuitive introduction to general linear models--learn the core foundations needed for building more advanced models.
  • Building in key concepts of linear models to more advanced (general) linear models.
  • A deep dive into the linear models that give you the core foundations needed for building more advanced models.
  • Best practices and tips for building and assessing models applied to your data.

We‘ll work on the basis that you’re pretty new to Python, but have some basic understanding of fundamental programming concepts and can run code locally on your machine.

If you feel like you could do with an introduction or a refresher, then take a look at Seán's free course which will get you up to speed on these Python basics, Getting Started and Python Basics.

🤖 Use AI to help you learn!

All digiLab Academy subscribers have access to an embedded AI tutor! This is great for...

Helping to clarify concepts and ideas that you don't fully understand after completing a lesson.
Explaining the code and algorithms covered during a lesson in more detail.
Generating additional examples of whatever is covered in a lesson.
Getting immediate feedback and support around the clock...when your course tutor is asleep!
Section 1
General Linear Models
1. Section Overview
(Preview)
2. The Foundations of ML - Curve Fitting
21:39 (Preview)
3. Regression Walkthrough
23:47 (Preview)
4. Underfitting and Overfitting
21:50
5. Controlling ML Models - Regularisation in Practise
16:28
6. Exploring Simple Relationships - Correlations
11:28
7. Finding Nonlinear Relations - Predictive Power Score
11:09
8. Correlation & PPS Walkthrough 📂
24:27
9. From Regression to Classification - Logistic Regression
20:27
10. Logistic Regression in Wild
15:48
11. Looking through the Right Lens - Principle Component Analysis
16:46
12. Looking in the Right Direction - Exploring PCA
21:23
13. Conclusion, Certificate, and What Next?
getting-started
Prof Tim Dodwell
Co-Founder & CEO at digiLab | Turing AI Fellow | Prof of Machine Learning
Tim co-founded digiLab and leads with enthusiasm and integrity to prototype mathematical solutions at speed to solve industry challenges. Tim has an international reputation in machine learning. Between his digiLab and academic responsibilities, he still finds time to run, time trial on his bike and enjoy his delightful young family.
TRY THIS NEXT
The Kernel Trick: A first look at flexible machine learning
The Kernel Trick: A first look at flexible machine learning
Outsourcing the Guesswork: A Dive into the Kernel Trick and Support Vector Machines.