Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ forward_hidden
Method
forward_hidden
unsupervised_class2/rbm.py:102–103 ·
view source on GitHub ↗
(self, X)
Source
from the content-addressed store, hash-verified
100
return
v_sample
101
102
def
forward_hidden(self, X):
103
return
T.nnet.sigmoid(X.dot(self.W) + self.c)
104
105
def
forward_output(self, X):
106
Z = self.forward_hidden(X)
Callers
2
forward_output
Method · 0.95
forward
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected