ageron / handson-ml

⛔️ DEPRECATED – See https://github.com/ageron/handson-ml3 instead.
Apache License 2.0
25.12k stars 12.91k forks source link

Chapter 5 SVM why should center before LinearSVC #674

Open gitgithan opened 1 year ago

gitgithan commented 1 year ago

There was a tip

The LinearSVC class regularizes the bias term, so you should center the training set first by subtracting its mean

I couldn't find any resource discussing why this is so? What happens if not centered? What are the implications of (not) regularizing the bias term?