Sigmoid函數及繪製

一、原理         二、繪製 '''python繪製sigmoid圖像''' import numpy as np import matplotlib.pyplot as plt %matplotlib inline x = np.arange(-10,10,0.1) y = 1./(1.+np.exp(-x)) plt.plot(x, y)  
相關文章
相關標籤/搜索