MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __str__

Method __str__

numpy_ml/neural_nets/optimizers/optimizers.py:208–213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 }
207
208 def __str__(self):
209 H = self.hyperparameters
210 lr, eps, cn, sc = H["lr"], H["eps"], H["clip_norm"], H["lr_scheduler"]
211 return "AdaGrad(lr={}, eps={}, clip_norm={}, lr_scheduler={})".format(
212 lr, eps, cn, sc
213 )
214
215 def update(self, param, param_grad, param_name, cur_loss=None):
216 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected