Is Stochastic gradient descent a classifier or an optimizer?

Arpitha picture Arpitha · Aug 2, 2017 · Viewed 11.2k times · Source

I am new to Machine Learning and I am trying analyze the classification algorithm for a project of mine. I came across SGDClassifier in sklearn library. But a lot of papers have referred to SGD as an optimization technique. Can someone please explain how is SGDClassifier implemented?

Answer

IMN picture IMN · Nov 2, 2017

Taken from SGD sikit-learn documentation

loss="hinge": (soft-margin) linear Support Vector Machine, loss="modified_huber": smoothed hinge loss, loss="log": logistic regression