Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rushter/MLAlgorithms
/ test_sgd
Function
test_sgd
mla/neuralnet/tests/test_optimizers.py:69–72 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
67
68
69
def
test_sgd():
70
assert clasifier(SGD(learning_rate=0.0001)) > 0.9
71
assert clasifier(SGD(learning_rate=0.0001, nesterov=True, momentum=0.9)) > 0.9
72
assert clasifier(SGD(learning_rate=0.0001, nesterov=False, momentum=0.0)) > 0.9
Callers
nothing calls this directly
Calls
2
clasifier
Function · 0.85
SGD
Class · 0.85
Tested by
no test coverage detected