Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.
Pattern Recognition important questions with answers
Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.
Q1. K-nearest neighbour: KNN rule, estimation and a worked example
Asked 7 times in 2020, 2023, 2024, 2025 · Unit 2
From the papers
“How does K-Nearest Neighbor works? Explain with KNN estimation and KNN rules.” (2020, 2023)
“Explain K-Nearest Neighbour (KNN) classifier and the role of distance metrics.” (2025)
“Given Class A: (1,2), (2,3), (3,3) and Class B: (7,6), (8,7), (9,8), classify (4,4) using KNN with K=3 and Euclidean distance.” (2025)
The short answer
K-nearest neighbour (KNN) is a classifier that stores all training samples. To label a new point, it finds the K training points closest to it and gives the class that most of them hold.
Write these points
KNN does no real training. It keeps the whole training set, so people call it a lazy learner.
Distance is usually Euclidean: d(x, y) = sqrt of the sum of (xi - yi) squared. Manhattan distance also works.
KNN rule: find the K nearest samples, count their classes and pick the class with the most votes.
KNN estimation (density): grow a region around x until it holds k samples. Then p(x) = k / (n V), where n is the number of samples and V is the volume of that region.
Choose K odd for two classes to avoid ties. A small K follows noise. A large K blurs the class boundary.
Scale the features first (normalization). Otherwise a feature with big numbers decides the distance alone.
Cost: no training time, but each query compares with all n points. Use a k-d tree or prototype selection to speed it up.
Steps
Store the training points with their labels.
For a test point, compute its distance to every training point.
Sort the distances and take the K smallest.
Return the majority class of those K points.
Example.
Class A: (1,2), (2,3), (3,3). Class B: (7,6), (8,7), (9,8). Test point (4,4), K = 3.
The two nearest are A. The third place is a tie at 3.61 between A and B.
A wins in both cases, so (4,4) belongs to class A.
Real-life example
A new student joins a hostel and wants to know if a mess is good. She asks the five nearest friends and goes with the majority. KNN classifies a new point the same way.
The circle around (4,4) holds its nearest neighbours. Two of the three are class A.
Same or opposite: KNN and a trained parametric classifier
Point
KNN
Parametric (Bayes with Gaussian)
Same or opposite
Training
Only stores samples
Learns mean and variance
Opposite
Work at test time
High, finds distances
Low
Opposite
Needs a distance measure
Yes
No
Opposite
Assigns a class label
Yes
Yes
Same
Exam tip. In the numerical, write every distance in a table, because examiners give marks for the working. Mention that features must be on the same scale, which many students forget. KNN rule (classify) and KNN estimation (density) are two different things, so write both when asked.
Q2. Clustering techniques and the K-means algorithm
Asked 6 times in 2020, 2023, 2024, 2025 · Unit 3
From the papers
“Discuss any unsupervised learning algorithm with an example.” (2020, 2023)
“Explain K-means clustering algorithm with steps.” (2025)
“Apply one iteration of K-means for (2,2), (3,3), (8,8), (9,9) with two clusters and initial centroids (2,2) and (8,8).” (2025)
The short answer
A cluster is a group of patterns that are more similar to each other than to patterns in other groups. K-means is an unsupervised algorithm that splits n points into K clusters, each one around a mean (centroid).
Write these points
Partitional methods: K-means, K-medoids, fuzzy C-means. They give one flat split into K groups.
Hierarchical methods: agglomerative (merge from the bottom) and divisive (split from the top). They give a tree called a dendrogram.
Density based methods such as DBSCAN find groups of any shape and mark noise points.
K-means needs K in advance. It tries to make the sum of squared distances from points to their centroids as small as possible.
Each pass lowers this error, so the algorithm always stops. It may stop at a local best, so the start points matter.
Limits: it suits round clusters of similar size. Outliers pull the mean away.
Steps
Choose K and pick K starting centroids.
Assign every point to its nearest centroid.
Recompute each centroid as the mean of the points assigned to it.
Repeat steps 2 and 3 until no point changes its cluster.
Example.
Points (2,2), (3,3), (8,8), (9,9). K = 2, start centroids (2,2) and (8,8).
Assignment: (2,2) and (3,3) go to C1. (8,8) and (9,9) go to C2.
New centroids: C1 = (2.5, 2.5) and C2 = (8.5, 8.5). A second pass changes no point, so the algorithm stops.
Real-life example
An online shop groups customers by how much and how often they buy, without any labels. Then it sends a different offer to each group. That grouping is K-means clustering.
One pass of K-means. The red crosses are the centroids before and after the update.
Same or opposite: K-means and hierarchical clustering
Point
K-means
Hierarchical
Same or opposite
Number of clusters
Given before (k)
Chosen by cutting a dendrogram
Opposite
Output
Flat groups
Tree of groups
Opposite
Speed on large data
Fast
Slow
Opposite
Needs no class labels
Yes
Yes
Same
Exam tip. For the numerical, show the distance table, the new groups and the new centroids for each pass. K-means is unsupervised. It never uses class labels. If the question says any unsupervised algorithm, K-means is the safest one to write.
Q3. Fuzzy classification and fuzzy decision making
Asked 6 times in 2020, 2023, 2024, 2025 · Unit 5
From the papers
“What do you mean by fuzzy decision making?” (2020, 2023)
“Explain fuzzy classification and neuro-fuzzy techniques with suitable real-life examples.” (2025)
“Explain the concept of fuzzy classification. How it differ from traditional classification?” (2024)
The short answer
Fuzzy classification lets a pattern belong to every class with a membership value between 0 and 1. Traditional (crisp) classification puts each pattern in exactly one class.
Write these points
We use fuzzy classes when class edges are vague. Words like tall, warm or high risk have no sharp line.
A membership function gives each value a grade between 0 and 1. Common shapes are triangle, trapezoid and Gaussian.
Process: fuzzify the input, apply IF-THEN rules, combine the rule outputs, then defuzzify to get a final class or number.
A fuzzy partition can let the memberships of one pattern add up to 1. Fuzzy C-means uses this idea for clustering.
Fuzzy decision making (Bellman and Zadeh): the goal G and the constraint C are fuzzy sets. The decision D is their intersection, so D(x) = min(G(x), C(x)). Choose the x with the largest D(x).
Uses: medical diagnosis, weather grading, credit risk, washing machine control.
Point
Crisp classification
Fuzzy classification
Membership
0 or 1
Any value from 0 to 1
Classes per pattern
Exactly one
Several, with grades
Boundary
Sharp
Gradual
Output
One label
Grades, then a label after defuzzifying
Example.
With the sets in the figure, a height of 175 cm is Medium with 0.40 and Tall with 0.33. A crisp rule with a cut at 172 cm would call it Tall and lose the fact that it is close to Medium.
Real-life example
A room at 27 °C is not simply hot or cold. It is 'warm' to a degree. A fuzzy AC controller uses such degrees to set the fan speed smoothly instead of switching on and off.
Three fuzzy sets for height. One value can belong to two sets at once.
Same or opposite: fuzzy and crisp classification
Point
Fuzzy
Crisp
Same or opposite
Membership
Any value from 0 to 1
0 or 1
Opposite
One pattern in many classes
Yes
No
Opposite
Handles vague data
Well
Poorly
Opposite
Gives a final decision
Yes, after defuzzification
Yes
Same
Exam tip. Draw the membership graph, which earns marks quickly. Write the min rule for a fuzzy decision, since students often skip the formula. Fuzzy membership is not probability: a membership of 0.4 tells how far the value belongs to the set.
Q4. Density estimation: histogram rule and Parzen window
Asked 6 times in 2020, 2023, 2024 · Unit 5
From the papers
“How are histograms used in pattern recognition? Explain.” (2024)
“Explain in detail: Density Estimation.” (2024)
“State and explain the rules of Histogram in detail.” (2023)
The short answer
Density estimation finds the probability density p(x) of a class from its samples. Non-parametric methods such as the histogram, the Parzen window and KNN do this without assuming a fixed shape like the normal curve.
Write these points
Parametric estimation assumes a form, for example a Gaussian. It then finds only the parameters (mean and variance) from the data.
Basic idea of all non-parametric methods: p(x) is about k / (n V). Here k samples out of n fall in a region of volume V around x.
Histogram rule: split the axis into bins of width h. For x in a bin with k samples, p(x) = k / (n h).
Histogram limits: the result jumps at bin edges, depends on where the bins start and needs too many bins in high dimensions.
Parzen window: fix the window size h and count the samples near x with a window function phi.
Parzen formula: p(x) = (1 / n) times the sum over all samples of (1 / h^d) phi((x - xi) / h).
phi can be a unit cube (1 inside, 0 outside) or a Gaussian, which gives a smooth curve.
KNN estimation does the opposite: fix k and let the volume V grow until it holds k samples.
Method
Fixed
Changes
Histogram
Bin width h
Count k in each bin
Parzen window
Window width h
Count k near x
KNN estimation
Count k
Volume V
Three estimates from six samples.
Samples 1, 2, 2.5, 3, 7, 8, so n = 6. The general formula is p(x) = k / (n V).
Histogram with bins of width 2: the bin [2, 4) holds 2, 2.5 and 3, so p = 3 / (6 × 2) = 0.25.
Parzen box window of width h = 2 at x = 2.5: the samples within 1 of x are 2, 2.5 and 3. So p = 3 / (6 × 2) = 0.25. At x = 5 no sample falls in, so p = 0.
KNN with k = 2 at x = 5: the two nearest samples (3 and 7) are 2 away, so V = 4.
So p = 2 / (6 × 4) = 0.083. KNN never gives 0.
Real-life example
A city traffic team counts cars in each hour of the day to see when roads are busiest. That bar chart is a histogram estimate of the traffic density over time.
The same 60 samples. The histogram jumps at bin edges. The Parzen estimate is smooth.
Same or opposite: histogram and Parzen window
Point
Histogram
Parzen window
Same or opposite
Shape of estimate
Steps
Smooth
Opposite
Depends on
Bin width and start
Window width h
Opposite
Non-parametric
Yes
Yes
Same
Works well in many dimensions
No
Better, still needs much data
Opposite
Exam tip. Write the general formula p(x) = k / (n V) first, because every method follows from it. The choice of h decides everything: a small h gives a spiky curve while a large h hides the two peaks. Histograms also serve as features, for example a colour histogram of an image.
Q5. Supervised and unsupervised learning: difference
Asked 5 times in 2020, 2023, 2024, 2025 · Unit 1
From the papers
“Explain supervised learning and unsupervised learning.” (2020, 2023, 2025)
“Explain the difference between supervised and unsupervised learning with an example.” (2023, 2024)
The short answer
In supervised learning every training sample comes with its correct class label. In unsupervised learning the samples have no labels, so the algorithm must find structure such as groups by itself.
Write these points
Supervised learning learns a mapping from input x to label y. Its main tasks are classification and regression.
Unsupervised learning finds natural groups or patterns. Its main tasks are clustering and dimension reduction.
Supervised examples: spam filtering, digit recognition, disease diagnosis from labelled records.
Semi-supervised learning uses a few labelled samples with many unlabelled ones.
Adaptation means the system keeps updating itself as new data arrives, for example a spam filter learning new tricks.
Point
Supervised
Unsupervised
Labels
Given for every sample
Not given
Goal
Predict the label
Find groups or structure
Algorithms
KNN, Naive Bayes, SVM, decision tree
K-means, hierarchical, PCA
Accuracy check
Compare with true labels
Cluster validation indices
Cost
Labelling takes effort
Results are harder to judge
The same fruits, with and without labels.
Weights in grams: 140, 150, 160 labelled apple and 200, 210, 220 labelled orange.
Supervised: the class means are 150 and 210. A new fruit of 170 g is 20 from apple and 40 from orange, so it is called apple.
Unsupervised: K-means with K = 2 on the same six weights finds {140, 150, 160} and {200, 210, 220}.
The groups are the same, but the algorithm cannot name them. A person must look at them and say which is apple.
Real-life example
A spam filter learns from mails already marked spam or not spam. That is supervised. A music app grouping songs by sound with no labels is unsupervised.
Left: labels are known and the model learns a boundary. Right: no labels, the algorithm finds groups.
Same or opposite: supervised and unsupervised learning
Point
Supervised
Unsupervised
Same or opposite
Labels in training data
Yes
No
Opposite
Main task
Classification, regression
Clustering
Opposite
Example method
KNN, decision tree
K-means
Opposite
Learns from data
Yes
Yes
Same
Exam tip. A table with five rows plus one example on each side is enough for 7 marks. Draw two small pictures: labelled points with a line beside unlabelled points in circles.
Q6. Feature extraction and dimension reduction (PCA)
Asked 5 times in 2020, 2023, 2024 · Unit 4
From the papers
“What is feature extraction? Explain the feature extraction techniques in detail.” (2024)
“Discuss the various types of feature extraction.” (2023)
“Write short on Principal Component Analysis.” (2023)
The short answer
Feature extraction makes a few new features from the original ones, for example by combining them. Dimension reduction lowers the number of features while keeping most of the useful information.
Write these points
Why reduce: fewer features mean faster training, less overfitting and easier plotting. Many features also suffer from the curse of dimensionality.
Feature extraction builds new features. Feature selection keeps a subset of the old ones.
Types of extraction: linear (PCA, LDA) and non-linear (kernel PCA, autoencoders). For images: edges, texture, colour histograms.
PCA is unsupervised. It finds new axes (principal components) along which the data varies most.
The components are the eigenvectors of the covariance matrix. The eigenvalue of each one tells how much variance it keeps.
LDA is supervised. It finds axes that best separate the classes.
Steps
Subtract the mean from every feature so the data is centred.
Compute the covariance matrix of the features.
Find its eigenvalues and eigenvectors.
Sort them by eigenvalue and keep the top k eigenvectors.
Project the data on these k vectors to get the new k features.
Example.
If two features have eigenvalues 4.5 and 0.5, the first component keeps 4.5 / 5.0 = 90 percent of the variance. We can keep only that one and lose little.
Real-life example
A face photo has thousands of pixels, but the face lock on a phone needs far fewer numbers to tell faces apart. PCA keeps the few directions that carry most of the variation.
PC1 points along the longest spread of the data. PC2 is at right angles to it.
Same or opposite: feature extraction and feature selection
Point
Extraction (PCA)
Selection
Same or opposite
New features
Made by combining old ones
A subset of old ones
Opposite
Meaning of features
Often lost
Kept
Opposite
Reduces dimensions
Yes
Yes
Same
Example
Principal components
Branch and bound
Opposite
Exam tip. Write the five steps in order. They are the core of the answer. Say that PCA ignores class labels. LDA uses them. Draw the scatter with the two arrows PC1 and PC2.
Q7. Pattern recognition: meaning, need and design principles
Asked 4 times in 2020, 2023, 2024, 2025 · Unit 1
From the papers
“What are the design principles of Pattern Recognition? Explain.” (2023, 2024)
“Define Pattern Recognition. Explain its need and importance in intelligent systems.” (2025)
“What is pattern recognition? Explain it.” (2020)
The short answer
Pattern recognition is the study of how a machine can observe data, learn the patterns in it and assign each new pattern to a category. A pattern can be an image, a sound, a signal or a set of measurements.
Write these points
Need: people cannot sort huge amounts of data by hand. Machines can read cheques, check faces and spot faults quickly.
Applications: character recognition, speech recognition, face and fingerprint checks, medical images, spam filters.
Design principle 1: pick features that differ a lot between classes and little within a class.
Design principle 2: features should not change with shift, rotation or scale when the class does not change (invariance).
Design principle 3: the model must generalise to new data. A model that only fits the training set is overfitted.
Design principle 4: use enough good training data. Keep a separate test set to measure accuracy.
Design principle 5: think of the cost of errors. Missing a disease costs more than a false alarm.
Steps
Collect data.
Choose features.
Choose a model (classifier).
Train the classifier.
Evaluate it on test data. Go back to an earlier step if it is not good enough.
The design cycle on a fish sorter.
Task: sort salmon from sea bass on a conveyor belt by camera.
Collect 100 labelled images. Choose two features: length and lightness of the skin.
Train a linear classifier on 70 fish, test on the other 30. It gets 3 wrong, an error of 10%.
The error is too high, so go back round the loop. Add the width feature, then retrain until the test error falls.
Real-life example
Your phone reads a handwritten note into text, opens with your face and recognises your voice. Each of these is pattern recognition at work.
The stages of a pattern recognition system, from the sensor to the final decision.
Same or opposite: statistical and structural pattern recognition
Point
Statistical
Structural
Same or opposite
Pattern is
A feature vector
Parts and their relations
Opposite
Method
Probability, decision rules
Grammars, graphs
Opposite
Example
Spam filter
Recognising a chemical structure
Opposite
Assigns a class
Yes
Yes
Same
Exam tip. Draw the system block diagram, which answers half of the question. Write the five design steps above as a loop. Give two real examples, because examiners like applications from daily life.
Q8. Decision boundary, decision regions and metric spaces
Asked 4 times in 2020, 2023, 2024, 2025 · Unit 1
From the papers
“What is a decision boundary? Explain decision regions and metric spaces.” (2025)
“Explain in detail: Decision Region.” (2024)
“Define the following: i) Clustering ii) Metric spaces.” (2023)
The short answer
A classifier splits the feature space into decision regions, one for each class. The surface between two regions is the decision boundary.
Write these points
A discriminant function gi(x) gives a score for class i. The classifier picks the class with the largest gi(x).
For two classes, use g(x) = g1(x) - g2(x). Choose class 1 when g(x) > 0 and class 2 when g(x) < 0. The boundary is g(x) = 0.
Linear discriminant: g(x) = w^T x + w0. Its boundary is a straight line in 2D, a plane in 3D and a hyperplane in general.
Bayes classifier: gi(x) = P(wi | x). Its boundary can be curved when classes have different covariances.
A metric space is a set with a distance d that obeys four rules. They are d(x,y) >= 0, d(x,y) = 0 only when x = y, d(x,y) = d(y,x) and d(x,z) <= d(x,y) + d(y,z).
Common metrics: Euclidean, Manhattan (sum of absolute differences) and Minkowski, which covers both.
Clustering: grouping patterns so that points in one group are close under this distance.
Example.
With g(x) = 0.8 x1 - x2 - 1.5, the point (8, 2) gives g = 2.9 > 0, so it lies in region R2 (class 2). The point (2, 4) gives g = -3.9 < 0, so it lies in R1 (class 1).
Real-life example
A bank decides loan approval from income and credit score. On a graph, a line splits approved points from rejected ones. That line is the decision boundary.
The line g(x) = 0 splits the plane into region R1 and region R2.
Same or opposite: linear and non-linear decision boundary
Point
Linear
Non-linear
Same or opposite
Shape
Straight line or plane
Curve
Opposite
Example classifier
Perceptron
KNN, kernel SVM
Opposite
Separates decision regions
Yes
Yes
Same
Handles XOR-like data
No
Yes
Opposite
Exam tip. Write the four metric rules. They are easy marks. Draw two regions with the line g(x) = 0 between them.
Q9. Classification and clustering: difference with examples
Asked 3 times in 2020, 2023, 2025 · Unit 1
From the papers
“Write the difference between classification and clustering.” (2020, 2023)
“Explain classification and clustering with suitable examples.” (2025)
The short answer
Classification puts a new pattern into one of the known classes, using a model trained on labelled data. Clustering groups unlabelled patterns so that similar ones end up together.
Write these points
Classification is supervised. The classes are fixed before training.
Clustering is unsupervised. The groups come from the data. Their number may not be known.
Classification example: an email arrives and the filter labels it spam or not spam.
Clustering example: a shop groups customers by buying habits without any labels given in advance.
Clustering is often done first. Experts then name the groups, which then serve as labels for a classifier.
Point
Classification
Clustering
Type of learning
Supervised
Unsupervised
Labels
Needed for training
Not needed
Number of groups
Known in advance
Often unknown
Output
Class of a new sample
Groups of the given samples
Algorithms
KNN, decision tree, SVM
K-means, hierarchical, DBSCAN
Checked by
Accuracy on a test set
Cluster validation
One example of each.
Classification: 1,000 mails labelled spam or not spam train a model. A new mail "Win ₹1 lakh now, click here" is put in spam.
Clustering: 1,000 news articles with no labels are split into 3 groups by their words.
Reading the groups later shows they are sports, politics and films. Nobody gave those names to the algorithm.
So classification needs labels before training, while clustering finds the groups first.
Real-life example
A doctor sorting X-rays into known diseases is doing classification. A researcher grouping patients by symptoms to find new patterns is doing clustering.
Figure: classification and clustering
Same or opposite: classification and clustering
Point
Classification
Clustering
Same or opposite
Classes known before
Yes
No
Opposite
Learning type
Supervised
Unsupervised
Opposite
Example
Spam or not spam
Customer groups
Opposite
Groups similar patterns
Yes
Yes
Same
Exam tip. A six-row table with one example each is a full answer. Do not write that clustering predicts a label for new data. It only groups the data it is given.
“Discuss Random Forest classifier and the concept of ensemble learning.” (2025)
“Explain in detail: Random Forest.” (2024)
“Write a detail note on Random Forest.” (2023)
The short answer
Ensemble learning joins several classifiers to get a better result than any one of them. A random forest is an ensemble of decision trees, each trained on a random sample, which then take a vote.
Write these points
Bagging: each tree gets a bootstrap sample, which is n rows drawn from the training set with replacement.
Random features: at each split a tree looks at only a random subset of features, often sqrt(d) out of d.
These two kinds of randomness make the trees different. Their errors partly cancel when we vote.
Classification uses a majority vote. Regression uses the average of the tree outputs.
Out-of-bag (OOB) error: each tree never sees about one third of the rows. Testing on them gives an error estimate without a separate test set.
Merits: high accuracy, less overfitting than one deep tree, handles many features and gives feature importance.
Limits: slower and harder to explain than one tree.
Steps
For t = 1 to T, draw a bootstrap sample from the training data.
Grow a decision tree on it, choosing each split from a random subset of features.
To classify x, run it through all T trees.
Return the class with the most votes.
Why a vote of trees beats one tree.
Five trees vote on one patient: yes, yes, no, yes, no. Three of five say yes, so the forest says yes.
Say each tree alone is right 70% of the time, with independent errors.
The forest is right when at least 3 of 5 trees are right: 0.309 + 0.360 + 0.168 = 0.837, about 84%.
Each tree is trained on a bootstrap sample (n draws with replacement), which holds about 63% of the distinct rows.
Real-life example
Before a big decision you may ask many friends, not one. Each gives a slightly different view and you follow the majority. A random forest asks many decision trees and takes their vote.
Each tree learns from its own sample. The forest output is the majority vote.
Same or opposite: decision tree and random forest
Point
Decision tree
Random forest
Same or opposite
Number of trees
One
Many
Opposite
Overfitting
High
Low
Opposite
Easy to explain
Yes
Harder
Opposite
Used for classification
Yes
Yes
Same
Exam tip. Mention both sources of randomness: rows (bootstrap) and features (random subset). Other ensemble methods are boosting (AdaBoost) and stacking. Name them for the ensemble part.
“Describe Naive Bayes classifier along with its assumptions and limitations.” (2025)
“Discuss Naive Bayes theorem in detail.” (2024)
“Explain Bayes theorem.” (2023)
The short answer
Bayes theorem gives the posterior probability of a class after seeing the data: P(w | x) = P(x | w) P(w) / P(x). The Naive Bayes classifier uses it and assumes that the features are independent given the class.
Write these points
P(w) is the prior, P(x | w) is the likelihood and P(x) is the evidence, the same for all classes.
Bayes decision rule: choose the class with the largest posterior. This gives the lowest probability of error.
Naive assumption: P(x1, x2, ..., xd | w) = P(x1 | w) times P(x2 | w) and so on up to P(xd | w).
So the classifier picks the class w that makes P(w) times the product of P(xi | w) largest.
Types: Gaussian (continuous features), multinomial (word counts), Bernoulli (yes or no features).
Merits: fast, needs little data and works well for text and spam filtering.
Limits: real features are often related. A zero count makes the product zero, so we add Laplace smoothing (add 1 to each count).
Example.
P(spam) = 0.4. The word offer appears in 50 percent of spam and 10 percent of normal mail. P(spam | offer) = (0.5 x 0.4) / (0.5 x 0.4 + 0.1 x 0.6) = 0.20 / 0.26 = 0.77. The mail is labelled spam.
Real-life example
Gmail's early spam filters used Naive Bayes. Words like 'lottery' and 'winner' raise the chance of spam. The filter multiplies these chances to decide.
Figure: Naive Bayes classification
Same or opposite: prior and posterior probability
Point
Prior P(w)
Posterior P(w | x)
Same or opposite
Known
Before seeing the data
After seeing the data
Opposite
Example
20 % of mails are spam
This mail is 95 % spam
Opposite
Used in Bayes theorem
Yes
Yes
Same
Changes with the features
No
Yes
Opposite
Exam tip. Write the formula and name each term. That alone is worth marks. State the independence assumption clearly. It is why the method is called naive. Show one small numerical like the spam example.
“Why cluster validation is important? Explain.” (2024)
“Describe about cluster validation.” (2023)
“Short note: Cluster validation.” (2020)
The short answer
Cluster validation measures how good a clustering result is: whether the groups are compact, well apart and real. It also helps choose the number of clusters.
Write these points
Why needed: every clustering algorithm returns groups, even on random data. Validation tells us if the groups mean anything.
It also helps choose K for K-means and compare two algorithms on the same data.
Internal indices use only the data. SSE (within-cluster sum of squares) should be small.
Silhouette for a point: s = (b - a) / max(a, b). Here a is the mean distance to its own cluster. b is the mean distance to the nearest other cluster. s near 1 is good. s below 0 means the point is in the wrong cluster.
Davies-Bouldin index compares spread within clusters to the distance between them. Lower is better.
External indices compare with known labels: purity, Rand index, F-measure.
Relative criteria run the same algorithm with different K and compare. The elbow method plots SSE against K.
Example.
For a point with a = 1.0 and b = 4.0, s = (4 - 1) / 4 = 0.75. The point fits its cluster well.
Real-life example
K-means always gives k groups, even when the data has no real groups. A shop must check its customer clusters before spending money on offers. Cluster validation is that check.
Figure: kinds of cluster validation
Same or opposite: internal and external validation
Point
Internal
External
Same or opposite
Uses true labels
No
Yes
Opposite
Example index
Silhouette, Dunn index
Rand index, purity
Opposite
Measures cluster quality
Yes
Yes
Same
Available in real projects
Almost always
Only with labels
Opposite
Exam tip. Name the three kinds of validation: internal, external and relative. Write the silhouette formula with the meaning of a and b.
“Explain different paradigms of Pattern Recognition.” (2023, 2025)
“What is pattern classification? What are major paradigms of machine learning?” (2020)
The short answer
A paradigm is a basic approach to pattern recognition: the two main ones are statistical and structural (syntactic). Template matching, neural networks and fuzzy methods are also used.
Write these points
Statistical: each pattern is a feature vector. Classes are described by probability densities. Bayes decision theory gives the class.
Structural or syntactic: a pattern is built from simple parts called primitives. A grammar or a graph describes how the parts join.
Example of structural: a character is a set of strokes. A chromosome shape is a string of curve types.
Template matching: compare the pattern with a stored template and pick the best match, for example by correlation.
Neural networks: layers of neurons learn the mapping from features to classes from examples.
Fuzzy and soft computing: use membership grades and rules for vague classes.
Representation of patterns: vectors, strings, trees or graphs. A class can be shown by its mean, a set of prototypes or a density.
Paradigm
Pattern shown as
Decision by
Statistical
Feature vector
Probability, Bayes rule
Structural
Primitives and relations
Grammar parsing, graph matching
Template
Stored image or signal
Best correlation
Neural
Input vector
Trained network output
Recognising the digit 7 three ways.
Statistical: measure features such as the ink in the top half and the number of strokes. A Bayes classifier picks the most probable digit.
Structural: describe 7 as primitives, a horizontal stroke H followed by a down-left diagonal D. The grammar rule 7 → H D accepts it.
Template matching: lay the image over a stored 28 × 28 template of 7. If 90% of the pixels match, the answer is 7.
The first works with numbers, the second with shapes and rules, the third with a direct comparison.
Real-life example
Reading a number plate can be done by measuring features of each character (statistical). It can also be done by describing the strokes that build each letter (structural).
Figure: paradigms of pattern recognition
Same or opposite: statistical and syntactic paradigm
Point
Statistical
Syntactic (structural)
Same or opposite
Pattern described by
Feature vector
Primitives and grammar
Opposite
Decision by
Probability
Parsing
Opposite
Good for
Noisy measurements
Patterns with clear structure
Opposite
A paradigm of pattern recognition
Yes
Yes
Same
Exam tip. Statistical and structural are the two expected paradigms. Explain both with an example. A comparison table at the end makes the answer look complete.
Q14. Neuro-fuzzy and neural network based pattern recognition
Asked 3 times in 2023, 2024, 2025 · Unit 5
From the papers
“Discuss recent advances in Pattern Recognition with reference to structural pattern recognition and soft computing techniques.” (2025)
“Explain the concept of Neural Network-Based Pattern Recognition in detail.” (2024)
“Describe about the of Neuro-Fuzzy and its Techniques.” (2023)
The short answer
Soft computing joins neural networks, fuzzy logic and genetic algorithms to handle noisy and vague data. A neuro-fuzzy system is a fuzzy rule system whose memberships and rule outputs are learned by a neural network.
Write these points
Neural network based PR: a multilayer perceptron takes the feature vector as input. Each output neuron stands for a class. Back-propagation learns the weights from labelled examples.
Convolutional networks learn their own features from raw images, so hand-made features are less needed.
Fuzzy rules are easy to read but are set by hand. Neural networks learn from data but act like a black box. Neuro-fuzzy systems keep the readable rules and add learning.
ANFIS (adaptive neuro-fuzzy inference system) has five layers: fuzzify, rule strength, normalise, rule output and sum.
Real-life uses: handwriting and face recognition, washing machines that set wash time, medical diagnosis, stock trend prediction.
Structural PR is another recent area. It describes a pattern as parts and relations, using graphs or grammars.
A neural network tuning a fuzzy rule.
Rule: IF temperature is High THEN fan speed is Fast, with a maximum of 1,500 rpm.
High(x) = (x − 25) / 10 between 25 °C and 35 °C. At 31 °C the membership is 0.6, so the fan runs at 0.6 × 1,500 = 900 rpm.
The training data says the fan should run at 1,000 rpm at 31 °C.
The network moves the start of High from 25 to 23. Now High(31) = 8 / 12 = 0.67 and the speed becomes 1,000 rpm.
Real-life example
A washing machine that reads load and dirt levels and sets its own wash time often uses a neuro-fuzzy controller. Fuzzy rules give the logic. The neural part tunes them from data.
ANFIS: fuzzy rules arranged as network layers so that training can tune them.
Same or opposite: neural network and fuzzy system
Point
Neural network
Fuzzy system
Same or opposite
Learns from data
Yes
Not by itself
Opposite
Easy to read its logic
No
Yes, IF-THEN rules
Opposite
Handles noisy data
Yes
Yes
Same
Combined in
Neuro-fuzzy (ANFIS)
Neuro-fuzzy (ANFIS)
Same
Exam tip. Draw the five ANFIS layers in a row. That is the expected figure. Give one real example for each technique.
Q15. Feature selection: branch and bound and sequential forward selection
Asked 3 times in 2023, 2024 · Unit 4
From the papers
“How can you prevent over fitting when using SFS? Explain.” (2024)
“Illustrate branch and bound Algorithm with suitable example.” (2023)
“Write an algorithm for forward selection with suitable example.” (2023)
The short answer
Feature selection picks the best d features out of D, judged by a criterion J such as class separability or validation accuracy. Trying every subset costs C(D, d) evaluations, which grows very fast.
Write these points
Branch and bound finds the best subset without testing all of them. It needs J to be monotonic: removing a feature never raises J.
It builds a tree where each level removes one more feature. A leaf is a subset of size d.
The best J found at a leaf so far is the bound. If a node already has J below the bound, its whole branch is cut, because removing more features can only lower J.
SFS starts with an empty set. At each step it adds the one feature that raises J the most, until d features are chosen.
SFS is fast but greedy. A feature once added is never removed (the nesting effect). Sequential backward selection starts full and removes features.
The (l, r) method adds l features and then removes r features at each stage, which reduces nesting.
Preventing overfitting in SFS: compute J by cross-validation, stop when the validation score stops rising and test on a separate set.
Steps
SFS: set S = empty.
For each feature f not in S, compute J(S plus f).
Add the feature with the highest J to S.
Stop when S has d features or J stops rising. Otherwise go to step 2.
Example.
Choose 2 of 5 features. Exhaustive search tests C(5, 2) = 10 subsets. Branch and bound gives the same best pair but usually evaluates fewer nodes because cut branches are never explored.
Real-life example
A medical test lab may measure 30 values from a blood sample, but only 5 really predict a disease. Feature selection finds those 5, so the test is cheaper and the model is simpler.
SFS adds one feature per step. The J values are only an example.
Same or opposite: branch and bound and sequential forward selection
Point
Branch and bound
SFS
Same or opposite
Finds best subset
Yes, if J is monotonic
Not always
Opposite
Speed
Slower
Faster
Opposite
Direction
Removes from the full set
Adds one at a time
Opposite
Uses a criterion J
Yes
Yes
Same
Exam tip. Say that branch and bound gives the best subset only when J is monotonic. Mention the nesting effect of SFS and the (l, r) fix.
RGPV teaches Pattern Recognition to 2 branches under one syllabus. Each branch prints its own code on the paper, but the units are the same. So one page and one PDF serve all of them.
We counted every question in the Pattern Recognition papers on this site by topic, from 2020 to 2025. A topic that keeps coming back is a topic RGPV likes, so it sits higher in the table. One branch alone has only a few papers. Counting them together gives a surer list.
Pattern Recognition important questions by branch
CS-503-BPattern Recognition important questions for CSE, Semester 5
CS-503-B follows the same RGPV syllabus as the other codes on this page. The 15 topics and answers above are the CS-503-B important questions too.
Pattern Recognition (CS-503 B) is an elective in Semester 5 of RGPV B.Tech CSE. It teaches how computers sort things into classes, such as spotting a digit or a face. The five units go from basic ideas to classifiers, clustering and feature selection. Work a small numerical example for every algorithm.
Pattern Recognition unit-wise brief
Unit 1: Introduction and definitions
This unit defines pattern recognition and shows its application areas and design principles. It covers classification and clustering, supervised and unsupervised learning, decision boundaries and regions, and metric spaces and distances. Be able to tell supervised from unsupervised learning with an example.
Unit 2: Classification
Here you study the types of classification and methods such as decision trees, naive Bayes, logistic regression, support vector machines, random forests and the K nearest neighbour classifier. It also covers prototype selection, combining classifiers, training and test sets, and standardisation. Do one nearest neighbour example by hand.
Unit 3: Paradigms of pattern recognition and clustering
This unit covers how patterns and classes are represented, then unsupervised learning and clustering: criterion functions, K-means (iterative square error clustering), hierarchical clustering and cluster validation. Run K-means for two rounds on a few points.
Unit 4: Feature extraction and feature selection
Features are the measurements a classifier uses. The unit covers the types of feature extraction, why feature selection is needed, and the algorithms: branch and bound, sequential forward and backward selection and the (l, r) algorithm. Compare forward and backward selection on a small case.
Unit 5: Recent advances in pattern recognition
The last unit covers structural pattern recognition, support vector machines, fuzzy c-means (FCM), soft computing and neuro-fuzzy techniques, histogram rules, density estimation, the nearest neighbour rule and fuzzy classification, with real life examples. Learn one example for each technique.
Units follow the RGPV scheme and syllabus, B.Tech Computer Science and Engineering, Semester 5 (AICTE flexible curriculum, w.e.f. July 2019). For the full topic list of each unit, open the Pattern Recognition notes.
What are the most important topics in Pattern Recognition?
By how often they were asked in the papers on this site: K-nearest neighbour: KNN rule, estimation and a worked example (7 times); Clustering techniques and the K-means algorithm (6 times); Fuzzy classification and fuzzy decision making (6 times); Density estimation: histogram rule and Parzen window (6 times); Supervised and unsupervised learning: difference (5 times).
How were these Pattern Recognition important questions chosen?
Each topic was counted from the questions in the past papers listed on this site (2020-2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Pattern Recognition important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Pattern Recognition is free to download from this page.
The 15 most repeated topics of Pattern Recognition (CS-503-B) for RGPV B.Tech CSE semester 5, counted from the previous year papers on this site. The same syllabus is taught under 2 codes: CS-503-B, CD-503-B.