Data Science · Random Forests Which of the following statements is true about feature importance in Random Forests? A Feature importance scores sum up to 1 B Feature importance scores can be negative C Feature importance scores represent the predictive power of features Correct answer D Feature importance scores are not affected by the number of trees in the forest MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the effect of increasing the max_features parameter in Random Forests? A Increases model variance Correct answer B Decreases model variance C Increases model bias D Decreases model bias MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the main difference between bagging and boosting? A Bagging trains each model independently, while boosting trains models sequentially Correct answer B Bagging combines multiple weak learners to create a strong learner C Bagging reduces variance, while boosting reduces bias D Bagging uses random subsets of the data for training MCQSEXAM Show answer Read explanation
Data Science · Random Forests What happens if the number of trees (n_estimators) in a Random Forest is too high? A The model becomes more prone to overfitting B The model becomes more prone to underfitting C The model becomes more computationally expensive Correct answer D The model's performance remains unaffected MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the recommended approach to tuning hyperparameters in Random Forests? A Grid search B Random search C Manual tuning D All of the above Correct answer MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the purpose of bootstrapping in Random Forests? A To reduce the computational complexity of training B To increase the number of features used in each tree C To reduce bias in the model D To create diverse datasets for training each tree Correct answer MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the main disadvantage of Random Forests compared to decision trees? A Random Forests are computationally expensive B Random Forests are prone to underfitting C Random Forests are less interpretable Correct answer D Random Forests have higher bias MCQSEXAM Show answer Read explanation
Data Science · Random Forests In Random Forests, what is the default value of the criterion parameter? A "gini" Correct answer B "entropy" C "mse" D "mae" MCQSEXAM Show answer Read explanation
Data Science · Random Forests What does the term "random" refer to in Random Forests? A Random initialization of parameters B Random selection of features Correct answer C Random initialization of weights D Random initialization of centroids MCQSEXAM Show answer Read explanation
Data Science · Random Forests Which of the following is NOT a hyperparameter of Random Forests? A n_estimators B max_depth C criterion D min_samples_split Correct answer MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the purpose of max_features parameter in Random Forests? A It specifies the maximum number of features to consider for splitting at each node Correct answer B It controls the maximum depth of each individual tree C It determines the minimum number of samples required to split a node D It sets the number of trees in the forest MCQSEXAM Show answer Read explanation
Data Science · Random Forests Which of the following is NOT a method to estimate feature importance in Random Forests? A Mean decrease in impurity (MDI) B Mean decrease in accuracy (MDA) C Permutation importance D Partial dependence plots Correct answer MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the purpose of feature importance in Random Forests? A To rank features based on their predictive power Correct answer B To increase the number of features used in each tree C To reduce the computational complexity of training D To remove irrelevant features from the dataset MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is out-of-bag (OOB) error in Random Forests? A Error calculated on the training data B Error calculated on the validation data C Error calculated on data not used during training Correct answer D Error calculated on data not used during testing MCQSEXAM Show answer Read explanation
Data Science · Random Forests How does a Random Forest make predictions for classification tasks? A By taking the mode of predictions from all trees Correct answer B By taking the mean of predictions from all trees C By averaging the probabilities from all trees D By summing the predictions from all trees MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the default number of trees in a scikit-learn Random Forest classifier? A 10 B 50 C 100 Correct answer D 500 MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the purpose of bagging in Random Forests? A To reduce bias B To reduce variance Correct answer C To speed up training D To increase interpretability MCQSEXAM Show answer Read explanation
Data Science · Random Forests How does a Random Forest introduce randomness during training? A By using a fixed set of features for each tree B By training each tree on the entire dataset C By selecting a random subset of features for each tree Correct answer D By enforcing a fixed tree depth for each tree MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is a Random Forest composed of? A Nodes and branches B Features and labels C Estimators and trees Correct answer D Leaves and roots MCQSEXAM Show answer Read explanation
Data Science · Random Forests What is the primary advantage of Random Forests over a single decision tree? A Random Forests are easier to interpret B Random Forests are less prone to overfitting Correct answer C Random Forests have faster training time D Random Forests require fewer hyperparameters to tune MCQSEXAM Show answer Read explanation
Data Science · Decision Trees How does a decision tree handle missing values during training? A It assigns the missing value to the most common value in the dataset B It assigns the missing value randomly C It uses surrogate splits to handle missing values Correct answer D It removes the samples with missing values from the dataset MCQSEXAM Show answer Read explanation
Data Science · Decision Trees What is the maximum depth of a decision tree? A The number of nodes in the tree B The number of branches in the tree C The maximum number of splits from the root node to a leaf node Correct answer D The maximum number of samples in a leaf node MCQSEXAM Show answer Read explanation
Data Science · Decision Trees What is a disadvantage of decision trees? A Prone to overfitting Correct answer B Require scaling of features C Can only handle numerical data D Not interpretable MCQSEXAM Show answer Read explanation
Data Science · Decision Trees Which of the following is NOT a splitting criterion commonly used in decision trees? A Gini impurity B Information gain C Mean squared error Correct answer D Chi-square test MCQSEXAM Show answer Read explanation
Data Science · Decision Trees What is entropy in the context of decision trees? A A measure of impurity in a set of examples Correct answer B The rate of information gain C The number of decision nodes in the tree D The depth of the tree MCQSEXAM Show answer Read explanation