Top 3 Machine Learning Quiz Questions with Answers explanation, Interview questions on machine learning, quiz questions for data scientist answers explained, machine learning exam questions
Machine learning MCQ - Set 12
1. Say the incidence of a disease D is about 5 cases per 100 people (i.e., P(D) = 0.05). Let Boolean random variable D mean a patient “has disease D” and let Boolean random variable TP stand for "tests positive." Tests for disease D are known to be very accurate in the sense that the probability of testing positive when you have the disease is 0.99, and the probability of testing negative when you do not have the disease is 0.97. What is P(D | TP), the posterior probability that you have disease D when the test is positive?
a) 0.0495
b) 0.078
c) 0.635
d) 0.97
Answer: (c) 0.635 P(D | TP) = (P(TP | D) P(D)) / P(TP) = (0.99 * 0.05) / 0.078 = 0.635. |
2. If your training loss increases with number of epochs, which of the following could be a possible issue with the learning process?
a) Regularization is too low and model is overfitting
b) Regularization is too high and model is underfitting
c) Step size is too large
d) Step size is too small
Answer: (c) step size is too large The train loss always decreases whether the model is overfitting or underfitting. If the step size is too small, the convergence is too slow, but the training loss will still go down. If the step size is too large, it may cause a bouncing effect because we skip and overshoot the optimal solution. This leads to increase in training loss and decrease in training accuracy. |
3. A 6-sided die is rolled 15 times and the results are: side 1 comes up 0 times; side 2: 1 time; side 3: 2 times; side 4: 3 times; side 5: 4 times; side 6: 5 times. Based on these results, what is the probability of side 3 coming up when using Add-1 Smoothing?
a) 2/15
b) 1/7
c) 3/16
d) 1/5
Answer: (b) 1/7 P(side-3) = count(side-3)+1 / sum_of_results+V = (2+1)/(0+1+2+3+4+5+6) = 3/21 = 1/7 Here, V is the total possibilities. |
No comments:
Post a comment