AI
AI
Artificial Intelligence
Class 9
AI Project Cycle
UNIT-II Al Project Cycle
Introduction
Steps ofAl Project Artificial Intelligence
Cycle
Problem Scoping
AW canvas
WHO
WHAT
WHERE
WHY
- Data Acquisition
- Data Exploration
- Modelling
Evaluation
Objective of Topic
Understanding of
Problem Scoping
4W Canvas
Data Acquisition
Sources of Data
Data Exploration
Modelling and its types
Evaluation of Project
Problem Scoping: 4W CANWAS
What? Where? Why
Wly.de yeubelire ik in arotdem.wsrth.solvingt
Why? What would be of hey vnlan tn ther atakrhulden?
Why you want to solve this problem.
Thus, in the "Why" canvas, think
about the benefits which the OW wouoE p r o v e their stuation
14
of it.
15
Data Exploration
some sense out of it, they have to work some patterns out ofit.
For example, if you go to the library and pick up a random book, you first try to
go through its content quickly by turning pages and by reading the
description before borrowing it for yourself, because it helps you in
understanding if the book is appropriate to your needs and interests or not.
Thus, to analyze the data, you need to visualize it in some user-friendly
format so that you can:
Quickly get a sense of the trends, relationships and patterns contained
within the data.
Define strategy for which model to use at a later stage.
Communicate the same to others effectively. To visualize data, we can use
various types of visual representations.
24 24
Modelling
But when it comes to machines accessing and analysing data, it needs the
data in the most basic form of numbers (which is binary -Os and 1s) and when
it comes to discovering patterns and trends in data, the machine goes in for
mathematical representations of the same.
The ability to mathematically describe the relationship between parameters is
the heart of every Al model.
Thus, whenever we talk about developing Al models, it is the mathematical
approach towards analy sing data which we refer to.
25 25
Steps of Al Project Cycle
Data Modelling
Acquisition
Problem Scoping
Bar
Graphs
Visual
Representations (
Let us solve:
One-lir
Description
How to draw it
Suitable for
which data
23
Daily Quiz & MCQ
FillUps:
1)AI project cycle has.steps.
2)AI Modelling is of_types.
MCQ:
1) 4W canvas means:
a. Who, what, where, why
b. what, whom, where,
why
C. whose, whom, who,
what
2) Data fanbeNHLEed by
a. Surveys b. Web c. Sensors d. All of
these
3)Last step of Project cycle is
a. Modelling b. Data
b. Evaluation d. aioration
Acquisition
45
System map for water cycle:
River
malt
Ocean
Clouds
42
43
Decision Tree:
It is a rule-based Al model which helpsthe machinein
predicting what an element is with the help of various
decisions (or rules) fed to it. A basic structure of
decision tree is shown below:
Am I hungry?
-Root
Yes No -Branches
Wo
(es
10
11
Activity on Problem Scooping:
Let us now start scoping a problem. Look around you and select a theme which interests you
the most. Suggested themes are:
Environ-
ment
Agricu-
ture
Traffic nfrast-
ucture
Health Security
Educa- Digital
tion Literacy
Women
Safety
Trans
port
Enterta-
inment
Cyber
Security
Travel Social
Disability weltareP
Research
Tourism
You can either select any one out of these or you can think of one on your own. For more
options, you can also refer to the 17 Sustainable Development Goals we discussed in the
Purpose module.
Questions:
1) Your selected theme is:
Ans.
*********** ***
*** **********************************
*******************************
As you can see in the Venn Diagram, Artificial Intelligence is the
umbrella terminology which covers machine and deep learning
under it and Deep Learning comes under Machine Learning. It is a
funnel type approach where there are a lot of applications of Al
out of which few are those which come under ML out of which
very few go in-
Artificial
Intelligence
Machine
Learning
Deep
Learning
28
29
Evaluation
Once a model has been made and trained, it needs to go through proper
so that one can calculate the efficiency and performance of the
testing
model.
Hence, the model is tested with the Test Data (which was
separated out of the acquired dataset at Data Acquisition stage) and the
efficiency of the model is calculated on the basis of the parameters
mentioned below:
40 AD
Think about any problem and fill the 4W canvas and finally
create a
Problem statement out of it.
ARTIFICIAL
INTELLIGENCE
Early artificial inteligence MACHINE
stirs excitement
LEARNING
Machine learning begins DEEP
to flourish
LEARNING
Desp larning bresithroughs
drive Al b
Modelling
MACHIN
LEARNIN E
Al G DEEP
EASED LEARNIN
MODELSS
RULE G
31
Data Acquisition
18
Surveys
Web Scraping
Cameras
Sensors
Observations
19
Problem Scoping: 4W CANWAS
12
hati Where?
Where?
you need to focuss on the
context/situation/location of the
problem.
This block willhelp you look into the situation in which the problem arises,
the context of it, and the locations where HeptePmihent-
13
Rule Based Approach
Suppose you have a dataset comprising of 100
images of apples and 100 images of bananas. To
train your machine, you feed this data into the
machine and label each image as either apple or
banana. Now if you test the machine with the
image of an apple, it will compare the image with
the trained data and according to the labels of
trained images, it will identify the test image as an
apple. This is known as Rule based approach. The
rules given to the machine in this example are the
labels given to the machine for each image in the
training dataset.
32
Rule Based Al Model
Labelled Dataset
Rule-based Al Model
Labelled Dataset
OUTPUT
Testing Data
Do It Yourself!
unlabelled data AL
e a r n i n A P p r o d c h Al M o d e l
Unlabelled Dataset
Quiz Time!
Quiz Continued..
DEVELOPMENT ALS
1 2. 3 4
Problem Scoping
Understanding What is
Al
Youlnbe
What is Not Al 0eoot
Sustainable NOTA
WHAT IS NOT A
Development Goals
Al Ethics
AI Project Cycle
Thank You