MCPcopy 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#分类函数
41def classify(probabilities):
42 classification = np.rint(probabilities[:, 1])
43 return classification
44
45# softmax激活函数
46def activation_softmax(inputs):

Callers 2

trainMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected