Asked about The questions every ML interview asks, answered properly

When would you choose logistic regression over gradient boosting?

An answer that works

When interpretability or calibrated, stable probabilities matter, when data is small, when features are already well engineered and roughly linear in effect, or when the model must be simple to deploy and audit. Otherwise boosting usually wins on accuracy for tabular data.

Reading an answer is not being able to give one. The section that teaches this is The questions every ML interview asks, answered properly, 3 hours of Supervised learning.

Learn this properly