IIT M FOUNDATION DIPLOMA ENDTERM QPD1 07 Aug 2022 IBA NS - 07 Aug 2022
MLT End Term35 questions100 marks17 SA · 12 MCQ · 6 MSQFoundation / Diploma / QPD1
Elapsed 00:00
Q1MCQ0 marks
Yes
No
Q2MCQ0 marks
Note: Do not write your answer as percentage. Always enter fractions as they are. e.g. if your answer is 0.245, enter the same, do not enter 24.5 %.
Useful Data has been mentioned above.
This data attachment is just for a reference & not for an evaluation.
Q3MCQ2 marks
During classification of linearly separable data-set using perceptron algorithm, as the value of learning rate α is decreased,
The number of steps required for convergence increases.
The number of steps required for convergence decreases.
The number of steps required for convergence is independent of the learningrate.
The perceptron algorithm may not converge.
Q4MCQ2 marks
A knn algorithm with k = 30 gives high training error and high validation error. What value of the k we should choose to get the better performance of the algorithm?
Less than 30
Greater than 30
Q5MCQ2 marks
Consider a binary classification problem. Let p1 denote the proportion of class 0 examples in a particular node. Which of the following graphs shows correct curves for the Gini-index, Entropy and misclassification error of that node?
Q6MCQ2 marks
The following is the activation vector output by some hidden layer in a neural network when some input vector is given to it:
The following is the activation vector output by some hidden layer in a neural network when some input vector is given to it: Which of the following could be the activation function used in this layer?
Softmax
Sigmoid
ReLU
Tanh
Q7MSQ2 marksselect all that apply
Which of the following are multi label problems? For each option, assume suitable features are available.
Predicted number of run Indian Cricket team will score in their next ODI.
Amount of money that Amitabh Bachchan’s next three movies each will make.
Predicting number of goals Ronaldo will score in next 10 matches each.
Predicting blood group of a person
Predicting blood sugar level of a person for next 15 days each.
Q8MSQ2 marksselect all that apply
In a random forest model let p < m be the number of randomly selected features that are used to identify the best split at any node of a tree. Which of the following are true? (m is the original number of features)
Increasing p reduces the correlation between any two trees in the forest.
Decreasing p reduces the correlation between any two trees in the forest.
Increasing p increases the performance of individual trees in the forest.
Decreasing p increases the performance of individual trees in the forest.
Q9SA2 marks
Q10SA2 marks
Consider a test-dataset of 100 points for a binary classification problem, where 60 belong to the positive class (true label) and the rest belong to the negative class (true label). The following is a table for some classifier that has been prepared by an ML engineer:
Consider a test-dataset of 100 points for a binary classification problem, where 60 belong to the positive class (true label) and the rest belong to the negative class (true label). The following is a table for some classifier that has been prepared by an ML engineer: If this is a valid confusion matrix (just by looking at the numbers), enter the classifier’s recall as the answer. If this is not a valid confusion matrix, enter 0 as the answer. Your answer should be in the interval [0, 1], endpoints inclusive. Enter your answer correct to two decimal places.
Q11MCQ3 marks
Q12MCQ3 marks
Consider unlabeled data with two features X1 and X2 as shown in the figure.
Consider unlabeled data with two features X1 and X2 as shown in the figure. C1 and C2 are the coordinates of centroids obtained after certain iterations of K-means algorithm with K = 2. Which of the following options is correct about the silhouette score S? Note: Euclidean distance is used to calculate the distances.
S will be positive and close to 0.
S will be positive and close to 1.
S will be exact −1.
S will be negative but need not be exact −1.
Q13MCQ3 marks
Consider a neural network for a multi-class, image classification problem. When the network is trained on the images as they are, it does a good job on the test data. Call the dataset (train + test) for this setup D1 and the network N1. Assume that we now turn all images upside down, in both the training and test dataset. Now, the network with the same architecture is trained from scratch on this modified dataset. Call the dataset (train + test) for this setup D2 and network N2. Select the most appropriate option.
The network N2 will not be able to learn anything from D2. Its test accuracy onD2 will be very low.
The network N2 will be able to learn useful patterns from D2. In fact, theperformance of network N2 on D2 will be similar to N1 on D1.
The network N2 will be able to learn somewhat useful patterns from D2. Butthe performance of N1 on D1 will be much better than N2 on D2.
Q14MCQ3 marks
Statement-1 is correct, statement-2 is incorrect
Statement-1 is incorrect, statement-2 is correct
Both statements 1 & 2 are correct
Both statements 1 & 2 are incorrect
Q15MSQ3 marksselect all that apply
Which of the following code blocks will produce the same value for the variable ‘Ans’? Assume the ‘numpy’ library is imported as ‘np’.
Q16MSQ3 marksselect all that apply
Presence of the lift/elevator is the most important feature.
No. of floors in the building is the most important feature.
Area is the most important feature.
Age is the most important feature.
Distance from railway station is the second most important feature.
None of these.
Q17MSQ3 marksselect all that apply
The polynomial regression model of degree 6 adds a smooth fitting to thisdata.
The polynomial regression model of degree 98 overfits this data.
The polynomial regression model of degree 2 adds a smooth fitting to thisdata.
The polynomial regression model of degree 3 underfits this data.
Q18SA3 marks
Q19SA3 marks
Q20SA3 marks
You are given a linearly separable dataset with feature matrix X, for which a perceptron has been trained until it converges (perfectly separates the data). The weight vector corresponding to it is w. This dataset has 60 points from the positive class and 40 from the negative class. What is the output of the following snippet of code?
You are given a linearly separable dataset with feature matrix X, for which a perceptron has been trained until it converges (perfectly separates the data). The weight vector corresponding to it is w. This dataset has 60 points from the positive class and 40 from the negative class. What is the output of the following snippet of code?
Q21SA3 marks
A Gaussian Naive Bayes model is trained for a multi-class classification problem that has 12 features and 5 classes. Find the total number of parameters that have to be estimated for this model. Consider each parameter to be a scalar value. In other words, if we decide to store all the parameters in a Python list, with each element of the list being a float value corresponding to a single parameter, what is the size of this list? Ignore the priors in the calculation. Only focus on the parameters of the class conditional densities.
Q22SA3 marks
Q23SA3 marks
A multi-class classification problem has 5 classes. The training dataset has n data-points, with an equal number of points from each of the 5 classes. Consider a dummy classifier that does prediction as follows: for each input data-point, it picks one of the 5 classes at random (uniformly) and outputs that as its prediction. What is the accuracy of the model on the training dataset as n becomes very large? Your answer should be between 0 and 1. Enter your answer correct to two decimal places. Hint: Think about it in the probabilistic sense.
Q24MCQ4 marks
Q25MCQ4 marks
cluster-1
cluster-2
can not be determined
Q26MSQ4 marksselect all that apply
If Wij is the weight of the edge from neuron i in layer l − 1 to neuron j in layer l, which of the following statements about the matrix W are true? Neurons in a layer are processed (indexed) from top to bottom. So, the first neuron in a layer is the top-most neuron in that layer.
The first row of the matrix corresponds to all outgoing connections from thefirst neuron in layer l − 1.
The first row of the matrix corresponds to all incoming connections to the firstneuron in layer l .
The last column of the matrix corresponds to all incoming connections to thelast neuron in layer l .
The last column of the matrix corresponds to all the outgoing connectionsfrom the last neuron in layer l − 1.
Q27SA4 marks
Q28SA4 marks
Q29SA4 marks
Q30SA4 marks
Q31SA4 marks
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q32SA2 marks
How many samples of the training data-set belong to Leaf 2?
Q33SA3 marks
If the present price of a car which is driven for 5 years is 9.5 lac. If the car has an LPG engine, what will be the prediction for the selling price of the car according to the given regression tree? Enter your answer in lac. If your answer is 5.6 lac, enter the answer 5.6.
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q34SA4 marks
What will be the performance of the first stump? Enter your answer correct to two decimal places.
Q35SA4 marks
What sample weight will be assigned to the last example to create the next stump? Don’t normalize the sample weights. Enter your answer correct to two decimal places.
Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.
Here’s a structured summary of core topics, concepts, principles, and equations essential for the exam, followed by Mermaid knowledge graphs to visualize relationships.
Core Topics & Concepts
1. Supervised Learning
A. Linear Models
Perceptron Algorithm
Convergence: Independent of learning rate (α) for linearly separable data (Q3).