ty estimates,
you should use logistic regression. If you don't, you can pick either, and it doesn't really matter.
Logistic regression can be a bit faster to optimize in theory.
If you're in a setting where there's many more feature than samples, it might make sense to use linear SVMs and solve the dual,
but you can actually solve either of the problems in the dual, and we'll talk about what that means in practice in a little bit.

---

# Effect of regularization


.center[
![:scale 90%](images/linear_svm_r