Q. The parameter . . . . . . . . allows specifying the percentage of elements to put into the test/training set

  • (A) test_size
  • (B) training_size
  • (C) All above
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) All above

Q. What is the naive assumption in a Naive Bayes Classifier.

  • (A) all the classes are independent of each other
  • (B) all the features of a class are independent of each other
  • (C) the most probable feature for a class is the most important feature to be cinsidered for classification
  • (D) all the features of a class are conditionally dependent on each other
πŸ’¬ Discuss
βœ… Correct Answer: (D) all the features of a class are conditionally dependent on each other

Q. Data used to optimize the parameter settings of a supervised learner model.

  • (A) training
  • (B) test
  • (C) verification
  • (D) validation
πŸ’¬ Discuss
βœ… Correct Answer: (D) validation

Q. In a real problem, you should check to see if the SVM is separable and then include slack variables if it is not separable.

  • (A) TRUE
  • (B) 1 and 2
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1 and 2

Q. We usually use feature normalization before using the Gaussian kernel in SVM. What is true about feature normalization?
1. We do feature normalization so that new feature will dominate other
2. Some times, feature normalization is not feasible in case of categorical variables
3. Feature normalization always helps when we use Gaussian kernel in SVM

  • (A) 1
  • (B) Small datasets
  • (C) 1 and 3
  • (D) 2 and 3
πŸ’¬ Discuss
βœ… Correct Answer: (B) Small datasets

Q. The minimum time complexity for training an SVM is O(n2). According to this fact, what sizes of datasets are not best suited for SVM's?

  • (A) Large datasets
  • (B) conceptual clustering
  • (C) Medium sized datasets
  • (D) Size does not matter
πŸ’¬ Discuss
βœ… Correct Answer: (A) Large datasets

Q. Suppose we train a hard-margin linear SVM on n > 100 data points in R2, yielding a hyperplane with exactly 2 support vectors. If we add one more data point and retrain the classifier, what is the maximum possible number of support vectors for the new hyperplane (assuming the n + 1 points are linearly separable)?

  • (A) 2
  • (B) 3
  • (C) n
  • (D) n+1
πŸ’¬ Discuss
βœ… Correct Answer: (D) n+1

Q. Which of the following can be true for selecting base learners for an ensemble?
1. Different learners can come from same algorithm with different hyper parameters
2. Different learners can come from different algorithms
3. Different learners can come from different training spaces

  • (A) 1
  • (B) 2
  • (C) 1 and 3
  • (D) 1, 2 and 3
πŸ’¬ Discuss
βœ… Correct Answer: (D) 1, 2 and 3

Q. Suppose you have fitted a complex regression model on a dataset. Now, you are using Ridge regression with tuning parameter lambda to reduce its complexity. Choose the option(s) below which describes relationship of bias and variance with lambda.

  • (A) In case of very large lambda; bias is low, variance is low
  • (B) In case of very large lambda; bias is low, variance is high
  • (C) In case of very large lambda; bias is high, variance is low
  • (D) In case of very large lambda; bias is high, variance is high
πŸ’¬ Discuss
βœ… Correct Answer: (C) In case of very large lambda; bias is high, variance is low

Q. In SVM, Kernel function is used to map a lower dimensional data into a higher dimensional data.

  • (A) TRUE
  • (B) you need to increase the learning rate.
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) TRUE