Artificial Intelligence: Ai Project Cycle
Artificial Intelligence: Ai Project Cycle
CLASS 10
AI PROJECT CYCLE
AI Project Cycle
Make a greeting card for your mother for her birthday. Lets see some ideas
1. You might go online and checkout some video.
2. After finalising the design, make a list of things that are required.
3. Check if you have the material with you or not. If not, you would go out and get
all the items ready.
4. Once you have everything with you, you would start making the card.
5. If you make a mistake in the card somewhere which cannot be rectified, you
would start remaking it.
6. Once the greeting card is made, you would gift it to your mother.
Are these steps relatable?
Do you think your steps might differ?
Similarly, AI Project Cycle provides us with an appropriate framework which
can lead us towards the goal. The AI Project Cycle mainly has 5 stages
Various parameters are
● Acquire data- understanding what the parameters that are related to
problem are scoping.
● Data acquisition - collecting data from various reliable and authentic
sources.
● Select various models which give a suitable output.
● Test the model and figure out which is the most efficient one.
● Develop algorithm
● Test your model
● Finally, after evaluation, the project cycle is now complete and what
you get is your AI project.
1. Problem Scoping
Identifying the problem and having a vision to solve it, is
what Problem Scoping is about. Take a look at the Sustainable
Development Goals.
17 goals have been announced by the United nations which are termed
as the Sustainable Development Goals. The aim is to achieve these goals
by the end of 2030.
https://www.youtube.com/watch?v=M-iJM02m_Hg
Many goals correspond to the problem which we might observe around us too.
One should look for such problems and try to solve them as this would make
their lives better. Scoping a problem is not that easy as we need to have a
deeper understanding around it so that the picture becomes clearer while we
are working to solve it.
The 4Ws Problem canvas helps in identifying the key elements related to the
problem
Who?
It helps you in analyzing the people getting affected directly or
indirectly due to it. Find out who the ‘Stakeholders’ to this problem are
and what you know about them.
Stakeholders are the people who face this problem and would be
benefitted with the solution.
What?
What is the problem and how do you know that it is a
problem?
Evidence to prove the problem you have selected actually exists.
Newspaper, Media, announcements, etc
Where?
Who is associated with the problem and what the problem
actually is; you need to focus on the context/situation/location of the
problem. This block will help you look into the situation in which the
problem arises, the context of it, and the locations where it is prominent.
Why?
What is to be solved; and where will the solution be deployed.
Thus in the “Why” canvas, think about the benefits which the
stakeholders would get from the solution and how would it benefit them
as well as the society.
After filling the 4Ws Problem
canvas, you now need to
summarise all the cards into one
template. The Problem Statement
Template helps us to summarise all
the key points into one single
Template so that in future,
whenever there is need to look
back at the basis of the problem,
we can take a look at the Problem
Statement Template and
understand the key elements of it.
Data Acquisition
Data means, a piece of information or facts and statistics collected together for reference or
analysis. Whenever we want an AI project to be able to predict an output, we need to train it first using
data.
For example, To predict the salary of any employee based on his previous salaries, you would feed the
data of his previous salaries into the machine. This is the data with which the machine can be trained.
Once it is ready, it will predict his next salary efficiently.
The previous salary data here is known as Training Data and the next salary prediction data set is
known as the Testing Data.
Training data needs to be relevant and authentic. In the previous example, if the training data was not
of the previous salaries but of his expenses. If the previous salary data was not authentic, then the
prediction could have gone wrong.
Data Features
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, because it helps you in understanding if the book is
appropriate to your needs and interests or not.
Modelling
In Data exploration, we have seen various types of graphical
representations which can be used for representing different parameters
of data. The graphical representation makes the data easy to understand.
https://www.youtube.com/watch?v=iiaMsi7BGjY
There are two types are regression and classification
https://www.youtube.com/watch?v=iAFJUCQNIFI
Numerical Data can be Discrete or Continuous:
Discrete data is counted, while Continuous data is measured
Discrete Data
Discrete Data can only take certain values.
Example: the number of students in a class
We can't have half a student!
Example: the results of rolling 2 dice
Only has the values 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 and 12
Continuous Data
Continuous Data can take any value (within a range)
Examples:
A person's height: could be any value (within the range of human heights), not just certain
fixed heights,
Time in a race: you could even measure it to fractions of a second,
A dog's weight,
The length of a leaf,
Classification
Classification problem is when the
output variable is a category such as
“Black” or “coloured”, “good” or “bad".
It separates the data into multiple discrete
classes or labels.
•It answers “What class?”
•Applied when the output has finite and
discrete values.
Eg Given the age and salary of consumers
,predict whether they will be interested in
buying a house.
Regression
Regression is the process of
finding a model that predicts a
continuous value based on its input
variables.
•It answers “How much”
•Applied when the output is continuous
number
•A simple regression algorithm
:y=mx+c
Example:
The relationship between
environmental temperature and
humidity levels.
Unsupervised Learning
It works on unlabelled dataset. The unsupervised learning models are used
to identify relationships, patterns and trends out of the data which is fed into it. It
helps the user in understanding what the data is about and what are the major
features identified by the machine in it.
Example
Random data of 1000 dog images and you wish to understand some pattern
out of it, you would feed this data into the unsupervised learning model and would
train the machine on it. After training, the machine would come up with patterns
which it was able to identify out of it. The Machine might come up with patterns
which are already known to the user like colour or it might even come up with
something very unusual like the size of the dogs.
Unsupervised learning models divided into two categories:Clustering and
Association
Types of Unsupervised
learning algorithms
https://www.youtube.com/watch?v=rEDzUT3ymw4
https://www.youtube.com/watch?v=vpOLiDyhNUA
Artificial Intelligence, Machine Learning, Deep Learning
Machine learning(ML)
Machine learning is an application of AI.
It provides systems the ability to automatically learn and improve from
experience without being explicitly programmed. So instead of you
writing the code,what you do is you feed the data to the generic
algorithm and the machine builds the logic based on the given data.
Machine learning focuses on the development of computer programs
that can access data and use it learn for themselves.
https://www.youtube.com/watch?v=hvTomFHBEKo
Advantages:
• Easily identifies trends and patterns :It can review large amount of data
and discover trends and patterns out of it.
• No human intervention needed
• Continuous improvement
Disadvantages:
• Time and resources: Needs more time to train the model
• High error-susceptibility: Machine Learning is autonomous but highly
susceptible to errors. Suppose, you train an algorithm with data sets
small enough to not be inclusive. You end up with biased predictions
coming from biased training set.
• Can't offer rational reasons: Machine learning systems can't offer
rational reasons for a particular prediction or decision. They are limited
to answering questions rather than posing them.
Machine Learning Examples from Day-to-Day Life
https://www.youtube.com/watch?v=6M5VXKLf4D4
Real World Applications of Deep Leaning
The job of an input layer is to acquire data and feed it to the Neural
Network. No processing occurs at the input layer. Next to it, are the
hidden layers. Hidden layers are the layers in which the whole
processing occurs. Their name essentially means that these layers are
hidden and are not visible to the user.
Each node of these hidden layers has its own machine learning algorithm which it
executes on the data received from the input layer. The processed output is then fed
to the subsequent hidden layer of the network. There can be multiple hidden layers
in a neural network system and their number depends upon the complexity of the
function for which the network has been configured. Also, the number of nodes in
each layer can vary accordingly. The last hidden layer passes the final processed
data to the output layer which then gives it to the user as the final output. Similar to
the input layer, output layer too does not process the data which it acquires. It is
meant for user-interface.
Some of the features of a Neural Network are
AI in our daily life
https://www.youtube.com/watch?v=Y46zXHvUB1s
THANK YOU