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

Method hyperparameters

numpy_ml/neural_nets/layers/layers.py:2251–2261  ·  view source on GitHub ↗

Return a dictionary containing the layer hyperparameters.

(self)

Source from the content-addressed store, hash-verified

2249
2250 @property
2251 def hyperparameters(self):
2252 """Return a dictionary containing the layer hyperparameters."""
2253 return {
2254 "layer": "SoftmaxLayer",
2255 "n_in": self.n_in,
2256 "n_out": self.n_in,
2257 "optimizer": {
2258 "cache": self.optimizer.cache,
2259 "hyperparameters": self.optimizer.hyperparameters,
2260 },
2261 }
2262
2263 def forward(self, X, retain_derived=True):
2264 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected