Logistic regression, trees, random forests and boosting: when to use which
MediumConcept20 minASRSPro outline
The question
Compare logistic regression, a single decision tree, a random forest and gradient boosting. What does bagging reduce, what does boosting reduce, and how do you choose between them for a tabular problem?
What the interviewer is looking for
- Explains bias and variance for each model
- Bagging averages many high-variance trees to cut variance
- Boosting adds weak learners in sequence to cut bias
- Knows practical trade-offs: tuning effort, overfitting risk, speed, interpretability
- Mentions when a linear model is enough
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Amazon (Applied Scientist / AGI) question type: Classical ML breadth: logistic regression, trees, random forests, boosting, and when to prefer bagging vs boosting.
Reported in: medium.com, easylearnspace.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Amazon (Applied Scientist / AGI) question.