MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / forward

Method forward

unsupervised_class2/unsupervised.py:44–48  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

42 return current_input
43
44 def forward(self, X):
45 Z = X
46 for ae in self.hidden_layers:
47 Z = ae.forward_hidden(Z)
48 return Z
49
50 def fit_to_input(self, k, learning_rate=1.0, mu=0.99, epochs=100000):
51 # This is not very flexible, as you would ideally

Callers 1

fit_to_inputMethod · 0.95

Calls 1

forward_hiddenMethod · 0.45

Tested by

no test coverage detected