Decision trees are excellent predictive models when the dependent variable is _________.

Prepare for the Data Mining Test with our comprehensive quizzes. Practice with various question types, each with hints and explanations. Boost your understanding and ensure success on your exam!

Multiple Choice

Decision trees are excellent predictive models when the dependent variable is _________.

Explanation:
Decision trees are built to assign class labels to observations by splitting the data into regions where the target category is as pure as possible. When the dependent variable is categorical, the tree becomes a classifier: each leaf predicts a category, and splits are chosen to maximize how well they separate the classes (using measures like Gini impurity or information gain). This works for any number of classes, including the two-class (binary) case, but the general, most flexible description is a categorical target. If the target were numerical, you’d use a regression tree instead, which predicts a numeric value rather than a class label. So a categorical dependent variable is the best fit for decision trees in this context.

Decision trees are built to assign class labels to observations by splitting the data into regions where the target category is as pure as possible. When the dependent variable is categorical, the tree becomes a classifier: each leaf predicts a category, and splits are chosen to maximize how well they separate the classes (using measures like Gini impurity or information gain). This works for any number of classes, including the two-class (binary) case, but the general, most flexible description is a categorical target. If the target were numerical, you’d use a regression tree instead, which predicts a numeric value rather than a class label. So a categorical dependent variable is the best fit for decision trees in this context.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy