Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ predict
Method
predict
ann_class2/dropout_theano.py:140–142 ·
view source on GitHub ↗
(self, X)
Source
from the content-addressed store, hash-verified
138
return
T.nnet.softmax((self.dropout_rates[-1] * Z).dot(self.W) + self.b)
139
140
def
predict(self, X):
141
pY = self.forward_predict(X)
142
return
T.argmax(pY, axis=1)
143
144
145
def
error_rate(p, t):
Callers
1
fit
Method · 0.95
Calls
1
forward_predict
Method · 0.95
Tested by
no test coverage detected