Decision Trees and Random Forests - Case Studies

Download Q&A
Q. How does a Random Forest handle missing values?
  • A. It cannot handle missing values.
  • B. It uses mean imputation.
  • C. It uses a surrogate split.
  • D. It drops the entire dataset.
Q. In a Decision Tree, what does the term 'node' refer to?
  • A. A point where a decision is made.
  • B. The final output of the tree.
  • C. The data used to train the model.
  • D. The overall structure of the tree.
Q. In Random Forests, how are individual trees typically trained?
  • A. On the entire dataset.
  • B. On a random subset of the data.
  • C. Using only the most important features.
  • D. With no data at all.
Q. In which scenario would you prefer using a Decision Tree over a Random Forest?
  • A. When interpretability is crucial.
  • B. When you have a very large dataset.
  • C. When you need high accuracy.
  • D. When computational resources are limited.
Q. What does 'bagging' refer to in the context of Random Forests?
  • A. A method to combine multiple models.
  • B. A technique to select features.
  • C. A way to visualize trees.
  • D. A process to clean data.
Q. What is a potential drawback of using a single Decision Tree?
  • A. They are very fast to train.
  • B. They can easily handle large datasets.
  • C. They are prone to overfitting.
  • D. They require extensive preprocessing.
Q. What is a primary advantage of using Random Forests over Decision Trees?
  • A. Random Forests are easier to interpret.
  • B. Random Forests reduce the risk of overfitting.
  • C. Random Forests require less data.
  • D. Random Forests are faster to train.
Q. What is the purpose of feature importance in Random Forests?
  • A. To reduce the number of trees.
  • B. To identify the most influential features.
  • C. To visualize the tree structure.
  • D. To increase the model's complexity.
Q. What is the role of 'feature importance' in Random Forests?
  • A. To determine the number of trees in the forest.
  • B. To identify which features are most influential in making predictions.
  • C. To evaluate the model's performance.
  • D. To select the best hyperparameters.
Q. What metric is often used to evaluate the performance of a Decision Tree?
  • A. Mean Squared Error.
  • B. Accuracy.
  • C. F1 Score.
  • D. Confusion Matrix.
Q. Which evaluation metric is commonly used to assess the performance of a Decision Tree classifier?
  • A. Mean Squared Error.
  • B. Accuracy.
  • C. Silhouette Score.
  • D. Log Loss.
Q. Which metric is commonly used to evaluate the performance of a Decision Tree?
  • A. Mean Squared Error.
  • B. Accuracy.
  • C. F1 Score.
  • D. Confusion Matrix.
Q. Which of the following is a common use case for Decision Trees?
  • A. Image recognition.
  • B. Customer segmentation.
  • C. Natural language processing.
  • D. Time series forecasting.
Q. Which of the following is a common use case for Random Forests?
  • A. Image recognition.
  • B. Time series forecasting.
  • C. Spam detection.
  • D. All of the above.
Q. Which of the following is NOT a characteristic of Random Forests?
  • A. They use multiple decision trees.
  • B. They are less prone to overfitting.
  • C. They can handle missing values.
  • D. They always provide the best accuracy.
Q. Which of the following scenarios is best suited for using Random Forests?
  • A. When interpretability is crucial.
  • B. When the dataset is small and simple.
  • C. When there are many features and complex interactions.
  • D. When the output is a continuous variable only.
Showing 1 to 16 of 16 (1 Pages)
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely