Machine Learning MCQ Questions And Answers

11. How do you handle missing or corrupted data in a dataset?

  1. Drop missing rows or columns
  2. Replace missing values with mean/median/mode
  3. Assign a unique category to missing values
  4. All of the above

Answer : D
Explanation: All of the above techniques are different ways of imputing the missing or corrupted data in a dataset.

12. The most widely used metrics and tools to assess a classification model are:

  1. Confusion matrix
  2. Cost-sensitive accuracy
  3. Area under the ROC curve
  4. All of the above

Answer : D
Explanation: None

13. A model of language consists of the categories which do not include?

  1. Language units
  2. Structural units
  3. Role structure of units
  4. System constraints

Answer : B
Explanation: A model of language consists of categories which does not include structural units.

14. Suppose we would like to perform clustering on spatial data such as the geometrical locations of houses. We wish to produce clusters of many different sizes and shapes. Which of the following methods is the most appropriate?

  1. Decision Trees
  2. Model-based clustering
  3. K-means clustering
  4. Density-based clustering

Answer : D
Explanation: The density-based clustering methods recognize clusters based on the density function distribution of the data object. For clusters with arbitrary shapes, these algorithms connect regions with sufficiently high densities into clusters.

15. Which of the following is a disadvantage of decision trees?

  1. Factor analysis
  2. Decision trees are robust to outliers
  3. Decision trees are prone to be overfit
  4. None of the above

Answer : C
Explanation: Allowing a decision tree to split to a granular degree makes decision trees prone to learning every point extremely well to the point of perfect classification that is overfitting.

16. Which of the following is true about Naive Bayes?

  1. Assumes that all the features in a dataset are equally important
  2. Assumes that all the features in a dataset are independent
  3. Both A and B
  4. None of the above options

Answer : C
Explanation: None

17. Among the following which is not a horn clause?

  1. p → Øq
  2. p
  3. p → q
  4. Øp V q

Answer : A
Explanation: p → Øq is not a horn clause from the above options.

18. Which of the following techniques can not be used for normalization in text mining?

  1. Stop Word Removal
  2. Stemming
  3. Lemmatization
  4. None of the above

Answer : A
Explanation: Stop word removal is not but Lemmatization and stemming are the techniques of keyword normalization.

19. Which of the following is a reasonable way to select the number of principal components “k”?

  1. Choose k to be the smallest value so that at least 99% of the varinace is retained
  2. Use the elbow method
  3. Choose k to be 99% of m (k = 0.99*m, rounded to the nearest integer)
  4. Choose k to be the largest value so that 99% of the variance is retained

Answer : A
Explanation: Choose k to be the smallest value so that at least 99% of the variance is retained and This will maintain the structure of the data and also reduce its dimension.

20. In which of the following cases will K-means clustering fail to give good results?

  1. Data points with outliers
  2. Data points with different densities
  3. Data points with nonconvex shapes
  1. 1 & 2
  2. 1, 2, & 3
  3. 2 & 3
  4. 1 & 3

Answer : B
Explanation: K-means clustering algorithm of Machine Learning fails to give good results when the data contains outliers, the density spread of data points across the data space is different, and when the data points with nonconvex shapes.

This Post Has 2 Comments

Leave a Reply