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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:438–450  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

436
437 @property
438 def hyperparameters(self):
439 """Return a dictionary containing the layer hyperparameters."""
440 return {
441 "layer": "RBM",
442 "K": self.K,
443 "n_in": self.n_in,
444 "n_out": self.n_out,
445 "init": self.init,
446 "optimizer": {
447 "cache": self.optimizer.cache,
448 "hyperparameters": self.optimizer.hyperparameterse,
449 },
450 }
451
452 def CD_update(self, X):
453 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected