![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
exploration8979
这个作者很懒,什么都没留下…
展开
-
2021-07-29
numpy.exp() 简单理解 y=numpy.exp(x):求e的x幂次方 等价于y=e^x 1.举例: import python as np y1=np.exp(1) y2=np.exp(2) y3=np.exp(3) print(y1,y2,y3) 结果为: 2.常见用法 神经网络中常用sigmoid函数用exp函数表示 import numpy as np def sigmond(x): #our activation function: f(x)=1/(1+e^(-x))原创 2021-07-29 16:43:29 · 102 阅读 · 0 评论 -
django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to include() is not supported...问题的解决
使用Django框架时遇到django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to include() is not supported. Pass a 2-tuple containing the list of patterns and app_name, and provide the namespace argument to include() instead.问题的解决方法 源代码如下: 运行python manage.原创 2020-12-04 14:55:11 · 990 阅读 · 0 评论