我想这样使用numpy.exp:cc = np.array([ [0.120,0.34,-1234.1] ]) print 1/(1+np.exp(-cc)) 但这给了我错误:/usr/local/lib/python2.7/site-packa.
確定! 回上一頁