Skip to lesson
Course outline

Beginner 1: What machine learning is, and your toolkit

Welcome: what machine learning is

45 min

Welcome to Machine Learning: Zero to Advanced. This course assumes no background in programming, maths or data. By the end, you’ll build, evaluate, explain and deploy machine learning models, including neural networks and applications built on large language models, and you’ll know how to use them responsibly.

How to succeed in this course

  • Run every example yourself, then change it and see what happens. ML is learned by experimenting.
  • Don’t fear the maths. We build intuition first and introduce only the maths you need, with code alongside.
  • Expect some confusion. Ideas like gradients and overfitting click with practice, not on first reading.
  • Ask for help after 20 minutes stuck, saying what you tried.
  • Plan 7 to 9 hours a week, spread across several days.

AI, machine learning, deep learning and generative AI

  • Artificial intelligence (AI) is the broad goal of making computers do tasks that seem to need intelligence.
  • Machine learning (ML) is the main way we do AI today: instead of writing rules by hand, we give the computer examples, and it learns a pattern from them.
  • Deep learning is ML using large neural networks, which power image recognition, speech and language models.
  • Generative AI uses deep learning to create new content: text, images, audio and code. Large language models (LLMs) are the best-known example.

Rules versus learning

Imagine flagging fraudulent mobile-money transfers. A rule-based approach writes rules: “flag transfers over ₦500,000 at night to new recipients.” Fraudsters adapt, rules multiply, and they miss new patterns.

A machine learning approach shows a model thousands of past transfers labelled “fraud” or “genuine”. The model finds the patterns itself, including combinations no person would think to write down, and can be retrained as fraud changes.

Three kinds of learning

TypeWhat it learns fromExamples
SupervisedExamples with the right answer (labels)Predict a flat’s rent; flag fraud; detect disease in crop photos
UnsupervisedExamples without labelsGroup customers into segments; spot unusual transactions
ReinforcementRewards from trial and errorGame-playing agents, robotics, some recommendation systems

Supervised learning splits further:

  • Regression predicts a number: rent, delivery time, sales.
  • Classification predicts a category: churn or not, spam or not, which crop disease.

ML around you in Nigeria

  • Fintech: fraud detection and credit scoring for loans based on transaction histories.
  • Agriculture: crop disease detection from phone photos, yield prediction.
  • Health: reading medical images, predicting disease outbreaks.
  • Commerce: product recommendations, demand forecasting, delivery route planning.
  • Language: speech and translation for Hausa, Igbo, Yoruba and Nigerian Pidgin, an active area of African AI research.

What you’ll build

You’ll work with two realistic datasets throughout:

  • Lagos rents: apartment listings across Lagos, to predict annual rent (regression).
  • Naija Mart customers: an online retailer’s customers, to predict who will stop buying (classification).

Later you’ll classify images, analyse text, build a question-answering app with a large language model, and deploy a model as a web service.

A word about AI tools

AI assistants can write ML code. Use them as a tutor: ask them to explain, then write and check the code yourself. ML code that runs can still be badly wrong, through leakage, a wrong metric or a broken split, and only understanding protects you.

Recommended videos for this module

Watch these alongside the lessons. They come from long-running, well-regarded teaching channels.

  • A Gentle Introduction to Machine Learning (StatQuest with Josh Starmer). A friendly, jargon-free start. Find it on YouTube
  • Machine Learning for Everybody – Full Course (freeCodeCamp.org). A free beginner course by Kylie Ying; use it alongside the early modules. Find it on YouTube
  • But what is a neural network? | Deep learning chapter 1 (3Blue1Brown). Optional now, essential later: a beautiful visual introduction you’ll revisit in Module 9. Find it on YouTube

Free hands-on practice

  • Google Colab: Free notebooks with optional GPUs. You’ll use it throughout the course. Open Google Colab
  • Google Machine Learning Crash Course: A free, well-made companion course. Open Google Machine Learning Crash Course
  • Zindi: Africa’s data science competition platform, with real problems from African organisations. Great for your portfolio later. Open Zindi

© 2026 Techforge Learn. For personal study only. Please don't share or republish it.