Skip to content

Logistic-Regression classical implement with differen solving method.

Notifications You must be signed in to change notification settings

lcsama/Logistic-Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

README

Achieve some Logistic-Regression solver with numpy. Compare different optimization algorithm in those model, waiting for more optimization algorithm.

Use sklearn.datesets to generate training data.

Logistic-Regression

Logistic Regression with difference optimization algorithm.

RUN EXAMPLE:

  • Gauss-Newton iteration (GN): python logistic.py GN
  • Gradient Descent (GD): python logistic.py GD --learning_rate=0.001 --iteration=500
  • Stochastic Gradient Descent (SGD): python logistic.py SGD --learning_rate=0.01
  • Mini Batch Gradient Descent (MBGD): python logistic.py MBGD --learning_rate=0.001 --iteration=50 --batch_size=20

About

Logistic-Regression classical implement with differen solving method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages