Welcome, young data explorer! In Module 3, we learned about Machine Learning. Now we are going to discover the most important part of AI: Data – the food that makes AI smart!
“AI & Automation Level One – Module 4: Data Science – The Food for AI”
Hello! 👋 Imagine you want to bake a cake. You need flour, eggs, sugar, and other ingredients. If you use bad ingredients, the cake will taste bad. It is the same with AI. AI needs data to learn. If the data is bad, the AI will make bad decisions.
In this module, we will learn about Data Science. That is the job of collecting, cleaning, and organising data so that AI can use it. We will learn about good data, bad data, and how to make data fair. We will also learn how to turn messy data into clean data – just like washing vegetables before cooking!
Ready to become a Data Scientist? Let’s go! 🚀
Amina lives in Kano. She loves to help her mother sell groundnuts. She noticed that some days they sold a lot, and some days very few. She decided to write down the number of sales each day, and also the weather, the day of the week, and if there was a festival.
After one month, she looked at her notes. She found a pattern: on Fridays and during festivals, sales were high. On rainy days, sales were low. She told her mother: “Let’s make extra groundnuts on Thursdays for Friday, and let’s have umbrellas for rainy days.”
Amina did Data Science. She collected data, found a pattern, and made a smart decision. That is what we are going to learn!
📊 AMINA’S DATA SCIENCE Step 1: Collect data (sales, weather, day) Step 2: Organise in a table Step 3: Look for patterns Step 4: Make a decision (make more on Fridays)
Definition: Data Science is the process of collecting, cleaning, organising, and studying data to find useful information.
Why important? Without data science, AI cannot learn. It is like trying to drive a car without fuel.
Simple explanation: It’s like being a detective who looks at clues (data) to solve a mystery.
Real-life example: A supermarket uses data science to know which products to stock.
School example: A teacher looks at test scores to see which topics need more teaching.
Home example: You keep a record of your pocket money to know how much you save.
Nigerian example: A farmer tracks rainfall and harvest size to plan planting.
🔍 DATA SCIENCE PROCESS Collect Data → Clean Data → Analyse → Find Patterns → Make Decisions
Mini summary: Data Science is about finding useful information from data.
Definition: Data is information – numbers, words, pictures, sounds.
Why important? AI eats data! Without data, AI is like a hungry baby with no food.
Simple explanation: If you want to teach a child about animals, you show them pictures. Those pictures are data.
Real-life example: Weather apps use data from satellites.
School example: Your report card is data about your performance.
Home example: A shopping list is data.
Nigerian example: A bank uses data on customer transactions.
🍲 DATA TYPES Numbers: 25, 100, 3.14 Words: "Hello", "Lagos", "Rain" Pictures: 📷 photos, drawings Sounds: 🎵 music, voice recordings
Mini summary: Data is information in many forms – it is the food for AI.
Definition: Good data is correct, complete, and clean. Bad data has mistakes, is missing, or is messy.
Why important? Bad data causes AI to make wrong decisions.
Simple explanation: If you use salt instead of sugar in a cake, the cake is bad. Same with data.
Real-life example: A GPS uses bad data if it has old maps – it will send you the wrong way.
School example: If your teacher records wrong marks, you get the wrong grade.
Home example: If your calendar has the wrong date, you miss an appointment.
Nigerian example: If a hospital has wrong patient records, the patient gets wrong medicine.
✅ GOOD DATA VS ❌ BAD DATA Good: "Age=10, Name=Chidi" Bad: "Age=ten, Name=Chidi??" (mixing text and numbers)
Mini summary: Good data is correct and clean; bad data is messy and wrong.
Definition: Bias is when data is not fair – it favours one group over another.
Why important? Biased data creates unfair AI that can hurt people.
Simple explanation: If you only teach a friend about dogs, they won’t recognise cats. That is bias.
Real-life example: An AI that recognises faces better on lighter skin because it was trained on mostly light-skinned faces.
School example: A test that only has questions about football – students who don’t like football will do badly.
Home example: A robot that only cleans one type of floor because it was trained on that type.
Nigerian example: An AI for farming trained only on data from the south might not work in the north.
⚖️ DATA BIAS Unfair data → Unfair AI → Unfair decisions Example: AI only trained on men might not work well for women.
Mini summary: Bias in data makes AI unfair. We must use data from all groups.
Definition: Data cleaning is fixing mistakes and removing messy parts from data.
Why important? Clean data makes AI smart. Dirty data makes AI stupid.
Simple explanation: Like washing vegetables before cooking – you remove the dirt.
Real-life example: Removing duplicate entries in a customer list.
School example: Correcting spelling errors in a class list.
Home example: Sorting your socks by colour and removing worn-out ones.
Nigerian example: A bank removes old addresses from customer files.
🧹 CLEANING DATA Remove duplicates Fix spelling errors Fill missing values Make everything consistent
Mini summary: Data cleaning fixes errors so AI can learn correctly.
Definition: Organising data means arranging it in rows and columns (like a table).
Why important? Organised data is easy for AI to read.
Simple explanation: Like a class register with names, ages, and marks – neat and tidy.
Real-life example: A spreadsheet of sales: columns for date, product, price, quantity.
School example: A timetable with days and subjects.
Home example: A list of groceries with item, quantity, and price.
Nigerian example: A farmer’s record of crops: column for date, crop type, amount harvested.
📊 TABLE EXAMPLE +--------+-------+--------+ | Name | Age | Class | +--------+-------+--------+ | Ada | 10 | 5 | | Chidi | 11 | 6 | | Bola | 10 | 5 | +--------+-------+--------+
Mini summary: Tables make data neat and easy to use.
Definition: A data source is where you get data – surveys, sensors, websites, etc.
Why important? You need to know where to find data.
Simple explanation: Like getting apples from a tree – the tree is the source.
Real-life example: A weather sensor on a roof.
School example: A class survey about favourite subjects.
Home example: Your electricity meter gives data on usage.
Nigerian example: A market trader records daily sales in a notebook.
📡 DATA SOURCES - Surveys (asking people) - Sensors (temperature, motion) - Websites (scraping data) - Records (school, hospital)
Mini summary: Data comes from many places – sensors, surveys, and records.
Definition: Small data is a few hundred items. Big data is millions or billions.
Why important? Different problems need different sizes of data.
Simple explanation: A small shop has small data. A big supermarket has big data.
Real-life example: Google searches generate huge data (big data).
School example: Your class test marks are small data.
Home example: Your monthly budget is small data.
Nigerian example: The census is big data – it has data on every person.
📦 DATA SIZE Small Data: 100 rows (easy to handle) Big Data: 1,000,000,000 rows (needs computers)
Mini summary: Data can be small or huge. Big data needs special tools.
Definition: Data can be numbers (age), text (name), or images (photos).
Why important? AI handles different types differently.
Simple explanation: You use numbers for maths, words for stories, and pictures for art.
Real-life example: A security camera gives image data.
School example: A maths test gives number data.
Home example: A shopping list gives text data.
Nigerian example: A passport photo is image data.
📂 DATA TYPES Numbers: 25, 100, 3.14 Text: "Hello", "Lagos" Images: .jpg, .png Sound: .mp3, .wav
Mini summary: Data can be numbers, words, images, or sounds.
Definition: Data privacy means protecting personal information so it is not misused.
Why important? People have a right to keep their information private.
Simple explanation: You don’t tell your password to strangers – that is privacy.
Real-life example: Hospitals keep patient records private.
School example: Your school doesn’t share your address with everyone.
Home example: You don’t post your address on social media.
Nigerian example: Banks protect customers’ account details.
🔒 DATA PRIVACY - Don’t share personal info. - Use passwords and locks. - Ask permission before using someone’s data.
Mini summary: We must keep personal data safe and private.
🔄 DATA SCIENCE CYCLE
Question → Collect → Clean → Analyse → Interpret → Act
↑ |
└─────────────────────────────────────────────┘
Mini summary: Data science follows steps: question, collect, clean, analyse, interpret, act.
🇳🇬 DATA SCIENCE IN NIGERIA Farmer: "When should I plant?" Data: rainfall, temperature, past harvests Answer: "Plant in April."
Mini summary: Data science is used in farming, health, traffic, and banking in Nigeria.
Use a spreadsheet to demonstrate data organisation. Discuss bias using simple examples. Emphasise that data privacy is like keeping a secret.
Help your child collect and organise a small dataset (e.g., daily temperature). Discuss where data is used in your home.
| Feature | Good Data | Bad Data |
|---|---|---|
| Accuracy | Correct | Has errors |
| Completeness | All fields filled | Missing values |
| Consistency | Same format | Mixed formats |
| Bias | Fair | Unfair |
Fantastic work! You now know that Data Science is about collecting, cleaning, and organising data so AI can learn. You learned about good data vs bad data, bias, data cleaning, and data privacy. You also learned the steps of a data science project and saw how data science is used in Nigeria. In the next module, we will learn about Data Visualisation – how to show data in pictures and charts to tell stories. Keep exploring!
| Term | Definition |
|---|---|
| Data Science | Finding info from data |
| Data Cleaning | Fixing errors |
| Bias | Unfairness |
| Big Data | Very large data |
| Data Privacy | Protecting information |
Scenario: You are helping a library know which books are borrowed most. You collect data on book titles, dates borrowed, and borrower ages. You find that some data is missing (no date) and some ages are written as “child” and “adult” instead of numbers. What would you do? (Clean data, fix formats, fill missing).
In groups, design a data collection plan for a school event. What data would you collect? How would you organise it? Present your plan.
Collect data on your favourite 5 fruits: name, colour, shape, taste (sweet/sour). Create a table.
Create a dataset of 20 items (e.g., family members, pets, or toys). Include at least 3 columns (features). Clean it (fix errors, fill missing). Present it as a table.
Use a spreadsheet (or paper) to record the temperature every day for 7 days. Also record if it was sunny, rainy, or cloudy. Then look for a pattern – is it warmer on sunny days? Write your findings.
Think of a problem in your community (e.g., waste collection). Design a data science project to solve it. What data would you collect? How would you clean and analyse it? Write a simple plan.
Fill-in: 1.organising 2.Data 3.Good 4.unfair 5.Data cleaning
True/False: 1.F 2.F 3.T 4.T 5.F
MCQ: 1.b 2.b 3.a 4.b 5.a 6.a 7.a 8.a 9.b 10.b 11.b 12.b 13.a 14.b 15.a
In Module 5, we will learn about Data Visualisation – how to turn data into charts, graphs, and pictures. This helps us tell stories with data. Get ready to become a data storyteller!
🎉 Excellent! You are now a Data Scientist. See you in Module 5! 🎉