This logistic regression algorithm with L2 regularization is used for predicting income from census data. It will predict the predict the probability that a person earns more than $50k per year. Meanwhile, I used stochastic gradient descent to train the model and got more than 90% accuracy of both training and validation sets.
dingluo1205 / logistic-regression-algorithm-using-sgd Goto Github PK
View Code? Open in Web Editor NEWLogistic Regression using Stochastic Gradient Descent