Advanced Concepts of Modeling
Advanced Concepts of Modeling
Advancedconcepts of
Modeling in AI
Class X
Learning Outcomes:
Revisiting AI, ML and DL
•Differentiate between AI, ML and DL
• Common terminologies used with data
Modelling
• Types of AI models –Rule based, Learning based
• Categories of Machine learning based models –
• Supervised, Unsupervised and Reinforcement learning models
• Sub-categories of Supervised Learning Model
– Classification, Regression
• Sub-categories of Unsupervised Learning Model
– Clustering, Association
Neural Networks
The above example shows labelled images (every image is tagged either as apple or strawberry) to be given as
input to the ML model. ML model learns from the input data to classify between apples and strawberries and
predicts the correct output .
Machine Learning, or ML,
enables machines to
improve at tasks with
experience. The machine
learns from its mistakes and
takes them into
consideration in the next
execution. It improvises
itself using its own
experiences.
Deep Learning, or DL,
enables software to train
itself to perform tasks with
vast amounts of data. In
deep learning, the machine
is trained with huge
amounts of data which
helps it into training itself
around the data. Following
is the block diagram of
deep learning:
Modelling
AI Modelling refers to developing algorithms, also called models which can be trained to
get intelligent outputs.
Rule Based Approach -Rule Based Approach refers to the AI modelling where the
relationship or patterns in data are defined by the developer. The machine follows the rules
or instructions mentioned by the developer, and performs its task accordingly.
Deep Learning enables software to train itself to perform tasks with vast amounts of data. In
deep learning, the machine is trained with huge amounts of data which helps it to train itself
around the data. Such machines are intelligent enough to develop algorithms for
themselves. There are two types of Deep Learning models:
Artificial Neural Networks (ANN) and Convolution Neural Network (CNN).
Artificial Neural networks(ANN) - Artificial Neural networks are modelled on the human brain and nervous system.
They are able to automatically extract features without input from the programmer. Every neural network node is
essentially a machine learning algorithm. It is useful when solving problems for which the data set is very large.
Convolutional Neural Network (CNN) - Convolutional Neural Network is a Deep Learning algorithm which can take in
an input image, assign importance (learnable weights and biases) to various aspects/objects in the image and be able
to differentiate one from the other.
Artificial Neural Networks
What is Neural Network?
Neural networks are loosely modelled after how neurons in the human brain behave. The key advantage
of neural networks is that they are able to extract data features automatically without needing the input
of the programmer. A neural network is essentially a system of organizing machine learning algorithms to
perform certain tasks.
What is a Perceptron?
A Perceptron is the basic building block of an Artificial Neural Network (ANN). Just like
a cell is the basic unit of the human body, a perceptron is the smallest unit of an ANN.
Then it passes this result through a function (usually a threshold or activation function) to make a final decision.
Simple Example: Deciding if a student will pass
Let’s say a perceptron helps decide if a student will pass based on two things:
1.Hours of Study (Input 1) 2.Number of Practice Tests Attempted (Input 2)
Let's assume:
•Weight for study hours = 2
•Weight for practice tests = 3
•Threshold = 10 (If the final score is 10 or more, the student passes)
Now suppose a student:
•Studies for 2 hours
•Attempts 2 practice tests
•Score = (2 × 2) + (2 × 3) = 4 + 6 = 10
Since 10 ≥ 10 → Output = 1 (Pass)
If the score was less than 10, output would be 0 (Fail).