赞
踩
'''python绘制sigmoid图像'''import numpy as npimport matplotlib.pyplot as plt%matplotlib inline x = np.arange(-10,10,0.1)y = 1./(1.+np.exp(-x)) plt.plot(x, y)