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

Method forward_output

unsupervised_class2/rbm.py:105–108  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

103 return T.nnet.sigmoid(X.dot(self.W) + self.c)
104
105 def forward_output(self, X):
106 Z = self.forward_hidden(X)
107 Y = T.nnet.sigmoid(Z.dot(self.W.T) + self.b)
108 return Y
109
110 @staticmethod
111 def createFromArrays(W, c, b, an_id):

Callers 1

fitMethod · 0.95

Calls 1

forward_hiddenMethod · 0.95

Tested by

no test coverage detected