Created
December 18, 2018 04:08
-
-
Save zealinux/010fb607b50f235e20a38db5f969ead4 to your computer and use it in GitHub Desktop.
机器学习中的常用的函数
This file contains hidden or 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
import numpy as np | |
def sigmoid(x): | |
return 1.0 / (1 + np.exp(-float(x))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment