Classification · Machine Learning
11 questions · asked in 3 of 3 years (2024–2026)
MCQ 4 · MSQ 4 · NAT 31-mark 5 · 2-mark 6
Questions 6–10 of 11
Which ONE of the following sets is a possible set of support vectors?
Answer: (D)
The class points lie on one side and the class points on the other. The closest pairs across the classes are along the lines and , so the widest gap is given by , (the line ).
Check for each point:
- : . : . These four lie exactly on the margin, so they are the support vectors.
- : . : . These are far outside the margin, so they are not support vectors.
So the support vectors are . Options (A), (B) and (C) fail because they contain (not on the margin) and miss points that are on it.
Answer: (D)
Answer: (B)
The Naive Bayes Classifier assumes that the attributes are independent of each other.
So, say the dataset has features, written as , and the class label is .
Here, both and are boolean variables. This means or for , and or .
Now, because of the "independent" assumption of the Naive Bayes Classifier,
Bayesian classifiers use the Bayes theorem, which is . But we ignore here, since it is the same for all the classes "", so it does not matter here.
So,
Now, using the equation
Now, to estimate each we have to find values, one for each of and .
For example, if we have found , then we can easily find , and the other way round.
This is because they are independent features.
The same holds for
So, we need values to estimate each , and so we need a total of values. We also need one value to estimate .
So, we need a total of parameters.
If the features are not independent, we need a total of parameters to estimate . For , we need values, because the one remaining value can be found by making the probabilities sum to 1. In the same way, for , we need values.
So in total we need to estimate
If is non-singular and , then ( ) must satisfy which ONE of the following equations?
Note: denotes the set of real numbers.
Answer: (A)
Method 1: set the derivative to zero.
By the quotient rule:
So . Divide by :
Since is non-singular, multiply by :
At : .
Method 2: Lagrange multiplier.
The ratio does not change if is scaled, so maximise subject to .
So . Here is an eigenvector of , and is its eigenvalue (the largest one, since is the maximum).
The other options do not follow: (B) has and on the wrong sides, (C) multiplies in the wrong order and does not use , and (D) has no scatter matrices at all.
Answer: (A)
Which of the following is/are TRUE?
One or more options are correct.
Answer: (A), (D)
(i) Circles at are all above the squares at . The line separates them. Separable.
(ii) The circle at has a square on each of its four sides, at . It sits inside the region the squares surround, so no line can put it on its own side. Not separable.
(iii) Squares at and circles at form an XOR pattern. The segment joining the two squares and the segment joining the two circles cross at , so no line separates the classes. Not separable.
(iv) Squares are at about and circles at about . The line has all three squares above it and all three circles below it. Separable.
Answer: (A), (D)
A cricket organization would like to use the information given in Table C to develop a decision-tree model to predict outcomes of future games between these two teams.
To develop such a model, the computed InformationGain(C, Pitch) with respect to the Target is _________ (rounded off to two decimal places).
Answer: 0.12 to 0.13
All 10 matches: 4 Green, 6 Blue.
Pitch = S (matches 1, 2, 4, 7, 10): 3 Green, 2 Blue.
Pitch = F (matches 3, 5, 6, 8, 9): 1 Green, 4 Blue.
Each Pitch value has 5 of the 10 matches, so the weighted entropy after the split is
This is below 0.125, so it rounds to 0.12.
Answer: 0.12
Keep practising