Amazon Interview Question

Describe linear regression vs. logistic regression. Explain advantages and drawbacks of SVM.

Interview Answers

Anonymous

Mar 9, 2015

I answered all the questions.

1

Anonymous

Jan 18, 2021

Linear regression is used for regression problems (continuous target). Logistic regression turns features that output scores on continuous domain and squeezes them between (0, 1). This means you can use it for classification problems. SVMs find a hyperplane that finds the maximum margin seperation between the classes. It can be used for both classification and regression but is typically used for classification problems.