πŸ“Š Machine Learning
Q. What are two steps of tree pruning work?
  • (A) pessimistic pruning and optimistic pruning
  • (B) Lasso regression uses subset selection of features
  • (C) cost complexity pruning and time complexity pruning
  • (D) none of the options
πŸ’¬ Discuss
βœ… Correct Answer: (B) Lasso regression uses subset selection of features
πŸ“Š Machine Learning
Q. Suppose you are using stacking with n different machine learning algorithms with k folds on data. Which of the following is true about one level (m base models + 1 stacker) stacking? Note: Here, we are working on binary classification problem All base models are trained on all features You are using k folds for base models
  • (A) you will have only k features after the first stage
  • (B) you will have only m features after the first stage
  • (C) you will have k+m features after the first stage
  • (D) you will have k*n features after the first stage
πŸ’¬ Discuss
βœ… Correct Answer: (B) you will have only m features after the first stage
πŸ“Š Machine Learning
Q. Type of dataset available in Supervised Learning is
  • (A) unlabeled dataset
  • (B) labeled dataset
  • (C) csv file
  • (D) excel file
πŸ’¬ Discuss
βœ… Correct Answer: (B) labeled dataset
πŸ“Š Machine Learning
Q. Another name for an output attribute.
  • (A) predictive variable
  • (B) independent variable
  • (C) estimated variable
  • (D) dependent variable
πŸ’¬ Discuss
βœ… Correct Answer: (B) independent variable
πŸ“Š Machine Learning
Q. PCA works better if there is
1. A linear structure in the data
2. If the data lies on a curved surface and not on a flat surface
3. If variables are scaled in the same unit
  • (A) 1 and 2
  • (B) 2 and 3
  • (C) 1 and 3
  • (D) 1,2 and 3
πŸ’¬ Discuss
βœ… Correct Answer: (C) 1 and 3
πŸ“Š Machine Learning
Q. What is/are true about kernel in SVM?
1. Kernel function map low dimensional data to high dimensional space
2. It's a similarity function
  • (A) 1
  • (B) 2
  • (C) 1 and 2
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) 1 and 2
πŸ“Š Machine Learning
Q. Which statement about outliers is true?
  • (A) outliers should be part of the training dataset but should not be present in the test data
  • (B) outliers should be identified and removed from a dataset
  • (C) the nature of the problem determines how outliers are used
  • (D) outliers should be part of the test dataset but should not be present in the training data
πŸ’¬ Discuss
βœ… Correct Answer: (C) the nature of the problem determines how outliers are used
πŸ“Š Machine Learning
Q. Select the correct answers for following statements.
1. Filter methods are much faster compared to wrapper methods.
2. Wrapper methods use statistical methods for evaluation of a subset of features while Filter methods use cross validation.
  • (A) both are true
  • (B) 1 is true and 2 is false
  • (C) both are false
  • (D) 1 is false and 2 is true
πŸ’¬ Discuss
βœ… Correct Answer: (B) 1 is true and 2 is false
πŸ“Š Machine Learning
Q. With Bayes classifier, missing data items are
  • (A) treated as equal compares.
  • (B) treated as unequal compares.
  • (C) replaced with a default value.
  • (D) ignored.
πŸ’¬ Discuss
βœ… Correct Answer: (B) treated as unequal compares.
πŸ“Š Machine Learning
Q. scikit-learn also provides functions for creating dummy datasets from scratch:
  • (A) make_classification()
  • (B) make_regression()
  • (C) make_blobs()
  • (D) all above
πŸ’¬ Discuss
βœ… Correct Answer: (D) all above