Andrew Ng’s Machine Learning Course in Python (Regularized Logistic Regression) + Lasso Regression

Benjamin Lau
Towards Data Science
7 min readDec 19, 2018

--

Machine Learning — Andrew Ng

Continuing from programming assignment 2 (Logistic Regression), we will now proceed to regularized logistic regression in python to help us deal with the problem of overfitting.

Regularizations are shrinkage methods that shrink coefficient towards zero to prevent overfitting by reducing the…

--

--

Self-motivated data scientist. My proactive approach has allowed me to embrace and stay at the forefront of the ever-evolving tech landscape.