Sportion interview question

How does gradient boosting work?