MCPcopy Index your code
hub / github.com/lawlite19/MachineLearning_Python / sigmoidGradient

Function sigmoidGradient

NeuralNetwok/NeuralNetwork.py:186–188  ·  view source on GitHub ↗
(z)

Source from the content-addressed store, hash-verified

184
185# S型函数导数
186def sigmoidGradient(z):
187 g = sigmoid(z)*(1-sigmoid(z))
188 return g
189
190# 随机初始化权重theta
191def randInitializeWeights(L_in,L_out):

Callers 1

nnGradientFunction · 0.85

Calls 1

sigmoidFunction · 0.70

Tested by

no test coverage detected