Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ predict
Method
predict
cnn_class/cifar.py:220–222 ·
view source on GitHub ↗
(self, X)
Source
from the content-addressed store, hash-verified
218
return
T.nnet.softmax(Z.dot(self.W) + self.b)
219
220
def
predict(self, X):
221
pY = self.forward(X)
222
return
T.argmax(pY, axis=1)
223
224
225
def
main():
Callers
1
fit
Method · 0.95
Calls
1
forward
Method · 0.95
Tested by
no test coverage detected