1. Learn
  2. /
  3. Cursuri
  4. /
  5. Linear Classifiers in Python

Connected

exercițiu

Using SGDClassifier

In this final coding exercise, you'll do a hyperparameter search over the regularization strength and the loss (logistic regression vs. linear SVM) using SGDClassifier().

Instrucțiuni

100 XP
  • Instantiate an SGDClassifier instance with random_state=0.
  • Search over the regularization strength and the hinge vs. log_loss losses.