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

Method forward

unsupervised_class2/autoencoder.py:219–227  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

217 return T.argmax(self.forward(X), axis=1)
218
219 def forward(self, X):
220 current_input = X
221 for ae in self.hidden_layers:
222 Z = ae.forward_hidden(current_input)
223 current_input = Z
224
225 # logistic layer
226 Y = T.nnet.softmax(T.dot(current_input, self.W) + self.b)
227 return Y
228
229
230def main():

Callers 2

fitMethod · 0.95
predictMethod · 0.95

Calls 1

forward_hiddenMethod · 0.45

Tested by

no test coverage detected