Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ sig
Method
sig
neural_network/convolution_neural_network.py:100–101 ·
view source on GitHub ↗
(self,x)
Source
from the content-addressed store, hash-verified
98
99
100
def
sig(self,x):
101
return
1 / (1 + np.exp(-1*x))
102
103
def
do_round(self,x):
104
return
round(x, 3)
Callers
3
convolute
Method · 0.95
trian
Method · 0.95
predict
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected