G8 - Unit 7 - Artificial Intelligence and Machine Learning
G8 - Unit 7 - Artificial Intelligence and Machine Learning
Learning Objectives
Learners will learn to:
describe the domains of artificial intelligence
Vocabulary
domain
big data
bias
Let Us Start
1
Let Us Explore
Read the following paragraph.
Once upon a time, there was a magical website called ShopSmart in the bustling world of
online shopping. One day, a curious shopper, Emma, visited ShopSmart to find the perfect
products tailored just for her. After a few days, the website suggested items perfect for
__________________________________________________________________________________________
__________________________________________________________________________________________
What types of data do you think ShopSmart used to understand Emma's preferences?
__________________________________________________________________________________________
__________________________________________________________________________________________
Get, Set, Go
7.1 Domains of Artificial Intelligence
We know that technology involving computers follows the concept of input-process-
Artificial Intelligence domains refer to the various areas or fields where AI can be
Domains of AI
Natural
Data Science Computer Vision Language
Processing (NLP)
2
Data Science
Data is a collection of facts or figures that can be processed to get meaningful
information. This data can be textual, audio or visual. Data Science is the study of
large amounts of data. The domain of data science involves extracting insights,
knowledge, and information from large and complex data sets using advanced
analytical and statistical tools. This process involves cleaning, transforming, analyzing,
and interpreting data to draw meaningful conclusions and inform business decisions.
Example: The internet is entirely based on data science. Search engines use data
science algorithms to give you the best results for your search. Also, when you search
for one result on a shopping app, a recommendation engine gives you several
shopping patterns and history. It uses data science algorithms to analyse this data
Big Data
The term Big Data refers to an enormous volume of data with sizes that exceed the
capacity of traditional software to process within an acceptable time and value. Big
The term has been used since the 1990s, with some giving credit to John Mashey.
Big Data usually includes data sets with sizes beyond the ability of commonly used
software tools to capture, curate, manage, and process data within a tolerable time.
3
It uses the data science domain, taking data as a text. The system is trained on a vast
dataset of diverse Instagram captions. This dataset teaches the AI model about
various writing styles, tones, and content commonly found in Instagram captions.
Step 2: Navigate to the Instagram Caption Creator option on the web page. Click on
it.
Step 3: The ‘AI Instagram Caption Generator’ page appears. Enter the required text
4
Step 4: Mention the tone for the caption
Computer Vision
Computer Vision is a field of artificial intelligence that enables computers to interpret
and understand visual information from the world, much like how humans perceive
5
of images. Computer Vision need lots of data. It runs analyses of data repeatedly
until it distinguishes and recognises images. The image data can take many forms,
such as video sequences, views from multiple cameras, multi-dimensional data from
Photo filters, face recognition systems and QR code scanners use Computer Vision.
understand the language spoken or written by humans and give an output after
NLU is the process of collecting information and understanding it. NLG is the process
sentiment, and intent used in the language. For example, when you ask Google
Assistant something, the NLU sub-process takes the input words, recognises them
and understands them. The NLG sub-process evaluates the possible answers and
Activity 1
Play the following game using the internet and identify the AI domains used.
Open Google Assistant or Siri on your parent’s smartphone and ask a few
6
Creating a game using AI
We know that AI is the ability of machines or robots to perform tasks that only humans can
do. Today, a lot of progress has been made in this field, and it has become a part of our
everyday life. We also know that machine learning is a subset of AI in which we train a
machine to perform tasks such as identifying a picture or sound to create a machine learning
model. We can then use this model in games or apps for a specific purpose.
powered “I Spy” game will allow you to try and guess what the computer has recognised.
Steps to create AI-powered “I Spy” game
Step 1: Go to https://machinelearningforkids.co.uk/pretrained/ .This page displays some
7
Step 5: Open the Extensions window.
Step 6: Click on the Imagenet extension. This adds a new “recognise image” block to Scratch.
It will use the imagenet machine learning model to recognise something in the picture you
8
Step 8: Create the given code to make the “I Spy” game.
Step 10: Find the code for the “make an i-spy clue” custom block.
9
Step 11: Make the game a little easier by making the clue more helpful
If the player has got it wrong three times, it gives the first two letters
If the player keeps getting it wrong, the clue gives the first three letters
7.2 Bias in AI
Bias in AI refers to unfair outcomes in algorithms or systems that arise from the data
used to train them or the design choices made during their development. This bias
can lead to discriminatory practices, reinforcing societal biases such as gender and
race.
Bias often originates from the training data used to develop AI models. If
may learn and perpetuate those biases. For example, if a hiring algorithm is
trained on historical data that reflects gender bias in hiring decisions, the AI
The algorithms can introduce bias based on their design and the features they
Algorithmic bias can occur if, for instance, certain features are given more
weight than others based on irrelevant factors like race, gender or socio-
economic status.
10
Avoiding AI Biases
Avoiding bias in AI systems is a challenging but essential task. Here are some
Ensure that the training data used to develop AI models is diverse and
potential biases.
development lifecycle.
7.3 Applications of AI
Artificial Intelligence has a wide range of applications across various industries,
Healthcare
AI is used for medical image analysis, helping in the early detection of
Finance
AI algorithms analyse market trends and execute trades at high speeds,
11
Education
AI adapts educational content to individual student needs, providing
burden on educators.
Autonomous Vehicles
AI enables vehicles to perceive their environment, make decisions, and
various industries.
Unit Review
1. Artificial Intelligence domains refer to the various areas or fields where AI can
be applied.
information from large and complex data sets using advanced analytical and
statistical tools.
4. The term Big Data refers to an enormous volume of data with sizes that exceed the
capacity of traditional software to process within an acceptable time and value.
interpret and understand visual information from the world, much like how
12
8. Bias in AI refers to unfair outcomes in algorithms or systems that arise from
the data used to train them or the design choices made during their
development.
recognition systems?
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
13
c. What do you understand by bias in AI? Explain with an example.
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
______________________________________________________________________________________
__________________________________________________________________________________
Lab Activity
Q1. Use the given link https://www.grammarly.com/ai-writing-tools to use AI and
create the following
formal letter
an email
Q2. Create a chatbot in Scratch that can answer questions about a topic of your
14
Resources
https://www.tutorialspoint.com/artificial_intelligence/artificial_intelligence_research_areas.htm
Reference Material
https://www.youtube.com/watch?v=mr-ZZqYKRmc&list=PLBZI3Jo1WG63ACZlg6m_vVd-wvSApZ1x_
15