Intermediate
Artificial Intelligence & Machine Learning
Q66 / 100
When should you choose a decision tree over logistic regression for a classification task?
Correct! Well done.
Incorrect.
The correct answer is B) When the relationship between features and the target is non-linear and you need an interpretable model that handles mixed feature types without scaling
B
Correct Answer
When the relationship between features and the target is non-linear and you need an interpretable model that handles mixed feature types without scaling
Explanation
Decision trees naturally capture non-linear interactions and handle categorical and numeric features without scaling, while logistic regression assumes a roughly linear decision boundary in feature space. The right choice depends on the data's structure and interpretability needs.
Progress
66/100