What is artificial intelligence?
Lecture notes
Artificial intelligence (AI) is the field of computer science that builds systems able to perform tasks that normally require human intelligence: recognising images and speech, understanding and producing language, making decisions, planning and learning from experience.
The family of AI
- Artificial intelligence — the whole field, including old rule-based "expert systems".
- Machine learning (ML) — a sub-field where the computer learns patterns from data instead of following rules written by a programmer.
- Deep learning (DL) — machine learning with artificial neural networks of many layers; it powers image recognition, speech recognition and translation.
- Generative AI — deep-learning models that create new content: text (ChatGPT, Claude, Gemini), images, music, code.
Programming vs learning
In classic programming, a developer writes rules: "if the message contains 'you won', mark it as spam". In machine learning, we give the computer thousands of examples of messages already labelled spam or not spam; a learning algorithm finds the rules itself and produces a model. The model can then classify messages it has never seen. In short: programming = rules + data → answers; ML = data + answers → rules.
Narrow AI and general AI
All AI systems in use today are narrow (or weak) AI: excellent at one family of tasks but without understanding of the world like a human. Artificial general intelligence (AGI), a system as capable as a person on any task, does not exist yet. A good AI practitioner stays enthusiastic but critical: models make mistakes, can be biased and do not "know" when they are wrong.
Why it matters in Africa
AI already helps diagnose crop diseases from a phone photo, translate between French, English and local languages, detect fraud in Mobile Money transfers, predict rainfall and support doctors in under-served areas. The continent needs people who can build these tools for local realities.