Unit 2 – Advance Concepts of Modelling in AI
Unit 2 – Advance Concepts of Modelling in AI
Session -2025-2026
Class – X
Subject – Artificial Intelligence (417)
Unit 2 – Advance Concepts of Modelling in AI
AI, ML, DL
Feature Artificial Machine Learning Deep Learning
Intelligence (AI) (ML) (DL)
AI is the science of ML is a subset of AI DL is a subset of ML
making machines that enables machines that uses neural
Definition
imitate human to learn from data. networks to simulate
behavior. human brain.
To create smart To enable systems to To mimic human
Goal systems. learn and improve from brain to process
data. data.
Siri, Self-driving car Email spam filter, Face recognition,
Example
movie recommendation language translation
Data Can work with small Needs structured data Requires large
Requirement data datasets
Rule-based, search, Decision Tree, CNN(Convolutional
logic, ML-based SVM(Support Vector neural network),
Machine ), KNN (K- RNN(Recurrent
Algorithms nearest neighbor Neural Network),
algorithm) ANN(Advanced
Network
Management.)
Types of AI Models
Type Definition Example
Rule-Based AI Follows predefined logical Basic chatbots with if-else
rules. conditions.
Machine Learning Learns patterns from data. Decision trees, neural
Models networks.
Deep Learning Uses multi-layered neural CNNs for image recognition,
Models networks. RNNs for text.
Generative AI Creates new data similar to ChatGPT, DALL·E (image
input data. generation).
1. Supervised Learning
2. Unsupervised Learning
3. Reinforcement Learning
1. Supervised Learning
Supervised learning is a machine learning technique that uses labeled data to train
algorithms to predict outcomes. In a supervised learning model, the dataset which is
fed to the machine is labelled.
There are two types of Supervised Learning models:
a. Classification
Where the data is classified according to the labels.
For example, in the grading system, students are classified on the basis of the grades
they obtain with respect to their marks in the examination. This model works on
discrete dataset.
Classifying emails as spam or not: The model is shown tons of emails, both real
ones (like from friends or colleagues) and spam. The model learns what makes an email
look like spam. Once trained, the model sees a new email. It analyzes the clues in the
email and decides: is this spam or not? It assigns a category – “spam” or “not spam” –
just like sorting your mail.
b. Regression
Such models work on continuous data. For example, if you wish to predict your next
salary, then you would put in the data of your previous salary, any increments,
etc., and would train the model. Here, the data which has been fed to the machine is
continuous.
2. Unsupervised Learning
An unsupervised learning model works on unlabeled dataset. This means that the data
which is fed to the machine is random and there is a possibility that the person who is
training the model does not have any information regarding it.
a. Clustering- Refers to the unsupervised learning algorithm which can cluster the
unknown data according to the patterns or trends identified out of it. The patterns
observed might be the ones which are known to the developer, or it might even come
up with some unique patterns out of it.
Based on the purchase pattern of customers A and B, can you predict any Customer X
who buys bread will most probably buy?
3. Reinforcement Learning
This learning approach enables the computer to make a series of decisions that
maximize a reward metric for the task without human intervention and without being
explicitly programmed to achieve the task. It’s based on a trial-and-error learning
process to achieve the goals.
Examples of reinforcement learning are question and answering, machine
translation, and text summarization.
Difference between supervised and unsupervised Learning?
Supervised Learning Unsupervised Learning
Useful in real-world problems like Useful in finding unknown patterns within data
predicting the prices of an item like making sence of a large number of
something based on past trends. observations from an experimental device.
1. Artificial Neural networks (ANN)- 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.
2) Context: A homeowner is deciding whether to invest in solar panels for their house.
Factors: –
a) Do I have a sufficient average amount of sunlight in my area?
b) Are there any available incentives or rebates for installing solar panels?
c) Does installing solar panels impact the value of my home?
d) Does solar energy lead to environmental benefits?
Answer