Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JunlingWang/Neuronetwork_with_python
/ classify
Function
classify
your_first_network.py:41–43 ·
view source on GitHub ↗
(probabilities)
Source
from the content-addressed store, hash-verified
39
40
#分类函数
41
def
classify(probabilities):
42
classification = np.rint(probabilities[:, 1])
43
return
classification
44
45
# softmax激活函数
46
def
activation_softmax(inputs):
Callers
2
train
Method · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected