Asurion interview question

What are the difference between Gradient boosting and ad boosting? What is the formula for Ridge regression?