All posts in the series:
- Linear Regression
- Logistic Regression
- Neural Networks
- The Bias v.s. Variance Tradeoff
- Support Vector Machines
- K-means Clustering
- Dimensionality Reduction and Recommender Systems
- Principal Component Analysis
- Recommendation Engines
Here my implementation of Logistic Regression in numpy.
The code below was originally written in matlab for the programming assignments of Andrew Ng’s Machine Learning course on Coursera.
I had some fun translating everything into python!
Find the full code here on Github and the nbviewer version here.