Skip to content

An implementation of the Hogwild! algorithm for asynchronous SGD that interfaces with sci-kit learn.

License

Notifications You must be signed in to change notification settings

srome/sklearn-hogwild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sklearn-hogwild

An implementation of the Hogwild! algorithm for asynchronous SGD that interfaces with sci-kit learn.

Requirements

A requirements.txt file is included and dependencies can be installed via:

pip install -r requirements.txt

Usage

from hogwildsgd import HogWildRegressor
hwsgd = HogWildRegressor(n_epochs = 5,
                         batch_size = 1, 
                         chunk_size = 32,
                         learning_rate = .001,
                         verbose=2)
hwsgd.fit(X,y)

Example

For an example, see the test.py file.

About

An implementation of the Hogwild! algorithm for asynchronous SGD that interfaces with sci-kit learn.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages