Created
January 30, 2022 12:06
-
-
Save sunilkumardash9/18419e3a6f43163d95ccd4281f2b58b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def sigmoid(self,X,weights): | |
z = np.dot(X,weights) | |
sig = 1/(1+np.e**(-z)) | |
return sig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment