npinto/asgd — Issue #4: Weight updates only if margin constraint violated.
Author: npinto
Created: 2011-10-17 18:20:46+00:00
State: open

To decrease communication and speed up convergence, we should have an option (default=True) to only update weights when margin constraints have been violated:

e.g.: Line #66 should move up (to Line #63) and ```if margin >= 1: continue```.

https://github.com/npinto/asgd/blob/master/asgd/naive_asgd.py#L66