Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ sigmoid
Function
sigmoid
logistic_regression_class/logistic4.py:43–44 ·
view source on GitHub ↗
(z)
Source
from the content-addressed store, hash-verified
41
z = Xb.dot(w)
42
43
def
sigmoid(z):
44
return
1/(1 + np.exp(-z))
45
46
47
Y = sigmoid(z)
Callers
1
logistic4.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected