Skip to content

Partial re-implementation of sklearn.linear_model.LogisticRegression

Notifications You must be signed in to change notification settings

SelimChraibi/variance-reduction-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variance Reduction Methods

Partial re-implementation of sklearn.linear_model.LogisticRegression (using only numpy) to illustrate the use of variance reduction methods in stochastic optimization.

Contents

  • A small report on the intuition behind stochastic variance reduction in optimisation & how to use the code. Report.html

  • Report.ipynb: same as the html report, in case you want to reproduce the results

  • Implementation broken down into:

    • linear_model.py

    • solvers.py

    • Helper functions: datasets.py, visuals.py, tools.py

    • Student performance dataset: data/

Reproducing the results

To get started with the Report.ipynb notebook, create an environment using the dependencies file:

conda env create --file dependencies.yml

Then launch jupyter-notebook and select Kernel -> Change kernel -> Python [conda env:vrm]

About

Partial re-implementation of sklearn.linear_model.LogisticRegression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published