Ai Project Cycle
Ai Project Cycle
Project Cycle is the steps taken to complete a task from the beginning
to its end. AI project cycle provides us with a framework of planning,
organizing, executing and implementing an AI project to achieve a
target.
STAGES OF AI PROJECT CYCLE
PROBLEM SCOPING
DATA ACQUISITION
DATA EXPLORATION
MODELLING
EVALUATION
PROBLEM SCOPING
• This is the first and the crucial stage of AI project development which
focuses on identifying and understanding problems using 4Ws.
• It is the analytics approach that involves taking steps to solve the
problems and setting up goals that we want our project to achieve.
4Ws
WHO WHAT WHERE WHY
WHO
• The “Who” block helps in analyzing the people getting affected directly
or indirectly due to it.
• Under this, we find out who are the ‘Stakeholders’ to this problem and
what we know about them.
• Stakeholders – are the people who face the problem and would be
benefited with the solution.
WHAT
• 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
• “WHY” canvas think about the benefits which the stakeholders would
get from the solution and how it will benefit them as well as the society.
DATA ACQUISITION
DATA FEATURES
• BULLET GRAPHS
• HISTOGRAMS
• SCATTERPLOT
• TREE DIAGRAM
• FLOW CHART
MODELLING
Rule Based
RULE BASED APPROACH
Example:
• If you have a dataset that consists of weather conditions, a basis which
we can predict if the lion would be visible on a specific Safari Day to
the tourists. The parameters can be cloud cover, temperature, wind
speed, humidity. When these parameters are recorded and fed in the
machine giving the favorable combinations when the Lion would be
visible and rest can be considered that the lion would not be visible.
• Now to test the model, the machine is given a scenario of the cloud
cover, temperature, wind speed, humidity. The model will compare the
same with the fed in the dataset and if there is a match, would let
know if the lion would be visible or not. This is called a rule-based
approach.
LEARNING BASED APPROACH
• Example:
Suppose you have a dataset of 1000 images of flowers. Now you do not have any clue
as to what trend is being followed in this dataset as you don’t know their names,
colour or any other feature. Thus you would put this into a learning approach based AI
machine and the machine would come up with various patterns it has observed in the
features of these 1000 images.
It might cluster the data on the basis of colour, size, shape etc. It might also come up
with some very unusual clustering algorithm which you might not have even thought
of.
LEARNING BASED APPROACH
Dimensionality
Regression Classification Clustering
Reduction
SUPERVISED LEARNING
• Supervised Learning is a learning in which we teach or train the machine using data
which is well labeled. It means that some data is already labelled with the correct
answer.
• Later for training prupose the machine is provided with a new set of data so that
supervised learning algorithm analyses the training data and produces a correct
outcome from labelled data.
Duck
Duck
Supervised Learning Predictive Model
Not Duck
REGRESSION – A Regression problem is when the output variable is a real value, such as
“dollar” or “weight”. It works with continuous data.
UNSUPERVISED LEARNING
Suppose a machine is given an image having animals which have not been seen ever.
Thus the machine has no idea about the category of animals so it won’t be able to
categorize them. But it can try to categorize them according to their similarities, patterns,
and differences i.e, it can easily categorize the animals belonging to a same group
REINFORCEMENT LEARNING
• After the model is designed and trained then the reliability of the model is checked
using Testing Data acquired at the Data Acquisition stage.
• This testing data is given as an input to the newly created AI model and the output
received is checked and evaluated on the basis of :
- Accuracy
- Precision
- Recall
- F1 Score
NEURAL NETWORKS
• Neural networks are a series of algorithms used to recognize hidden patterns in the
raw data, cluster and classify it, and continuously learn and improve. They are used
in a variety of applications in stock markets, sales and marketing trends, fraud
detection etc. Neural networks are primarily used for solving problems with large
datasets, like image.
The need to use neural networks are:
- It can extract data features automatically without the input from the developer.
- It is fast and efficient way to solve problems with large datasets, such as images.
- The larger neural networks tend to perform better with larger amounts of data.
WORKING OF NEURAL NETWORKS
• Neural networks are made up of layers of neurons, just like the human brain that consists of millions
of neurons. These neurons are the core processing units of the network.
• A Neural network is divided into multiple layers and each layer is further divided into several blocks
called nodes. Each node is responsible to do its task and pass on it to the next layer.
• First, we have the input layer which receives the input provided by the programmer and feeds it to
the neural network. No processing occurs in the input layer. The output layer predicts the output.
• The layers present in between input and output layers are called the hidden layers which perform
most of the computations required by our network. These layers are not visible to the user. Each
node of the hidden layer has its own machine learning algorithm which executes on the data
received by the input layer. The processed data is then fed to the subsequent hidden layer. The
processed data by the hidden layers is passed onto the output layer which then gives the final
output to the user. No processing is done in the output layer.
WORKING OF NEURAL NETWORKS