1. 学习
  2. /
  3. 课程
  4. /
  5. Linear Classifiers in Python

Connected

练习

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().

说明

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