MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / __init__

Method __init__

mla/neuralnet/optimizers.py:183–189  ·  view source on GitHub ↗
(self, learning_rate=0.001, beta_1=0.9, beta_2=0.999, epsilon=1e-8)

Source from the content-addressed store, hash-verified

181
182class Adam(Optimizer):
183 def __init__(self, learning_rate=0.001, beta_1=0.9, beta_2=0.999, epsilon=1e-8):
184 self.epsilon = epsilon
185 self.beta_2 = beta_2
186 self.beta_1 = beta_1
187 self.lr = learning_rate
188 self.iterations = 0
189 self.t = 1
190
191 def update(self, network):
192 for i, layer in enumerate(network.parametric_layers):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected