Beginner level · Module 1: Introduction to Artificial Intelligence and Ethical AI · Lesson 1 of 3
What AI Is and How It Learns
Learners separate AI from ordinary software and see, with everyday examples, how a model learns a pattern from past records and then applies it to new cases.
In this lesson you will
- Distinguish AI that learns from data from software that follows fixed rules
- Explain training, prediction and error with an everyday example
Key concepts
rule-based softwaremachine learningtraining datapredictionerror rate
The lesson
Ordinary software follows rules that a person writes: 'if the fee is paid, print the receipt'. A machine learning system is different: it is shown many past examples and finds a pattern itself. For example, it could be shown 2,000 past students' attendance and test scores together with whether they passed the final exam.
Once trained, the model makes a prediction for a new case, such as 'this student is likely to fail'. Every model makes some mistakes. The proportion of wrong predictions is its error rate, and it is never zero. The model also only knows what was in its training data: if rural schools were missing from the data, it has never learned about them.
Most AI in daily use is narrow. It does one task, such as filtering spam, translating text, recommending videos, scoring loan applications or drafting text. None of these systems understands the world the way a person does, and this is why human judgement stays necessary.
Step by step
- List five AI systems you have used or heard of in South Sudan (for example mobile money fraud alerts, translation apps or chat assistants).
- For each, write the input it receives and the output it produces.
- Mark which ones follow fixed rules and which ones learn from data.
- For one learning system, write what past data it was probably trained on and who might be missing from that data.
Practice activity
Complete an 'AI around me' table for five systems: input, output, learned or rule-based, likely training data and who could be missing from it.
Expected result: A five-row table that correctly separates learned and rule-based systems and names at least one group missing from each system's likely training data.
Check your understanding
-
What is the main difference between rule-based software and machine learning?
Show answer
Rule-based software follows rules written by people; machine learning finds patterns from past examples.
-
Why can a model perform badly for rural schools even if it is accurate overall?
Show answer
If rural schools were rare or missing in the training data, the model never learned their patterns.
Further learning
Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.