Udoka Estate, Awka, Anambra State A Subsidiary of Diaspora Digital Media

What is Machine Learning?

Welcome to AI and Machine Learning

Artificial Intelligence (AI) is the broad goal of making computers do tasks that normally need human intelligence: recognising speech, understanding text, spotting patterns, making decisions. Machine Learning (ML) is the most successful way of building AI today. Instead of writing every rule by hand, we give the computer examples (data) and let it learn the rules.

Traditional programming vs machine learning

  • Traditional programming: rules + data → answers. You write if price > 50000 then expensive.
  • Machine learning: data + answers → rules. You show the computer thousands of houses with their prices and it learns how size, location and age affect price.

Key words you will meet

  • Dataset – the collection of examples you learn from.
  • Features – the input columns (e.g. size, number of rooms, location).
  • Label / target – what you want to predict (e.g. price).
  • Model – the learned rule (a mathematical function).
  • Training – the process of fitting the model to data.
  • Prediction / inference – using the trained model on new data.

Where you already see ML

  • Spam filters in Gmail
  • Recommendations on YouTube, Netflix and Jumia
  • Face unlock on your phone
  • Fraud alerts from your bank
  • ChatGPT, Gemini and Claude (large language models)
Exercise: List three apps on your phone that use machine learning. For each one, write down what the input is and what the prediction is.

Knowledge check

Lesson quiz

Enroll in the course to take the quiz and track your progress.

Enjoying this preview? Enroll to unlock every lesson and earn your certificate.

Enroll in this course