python
ciqingloveless
这个作者很懒,什么都没留下…
展开
-
anconda安装jupyter
安装 pip install jupyter #生成配置文件 jupyter notebook --generate-config设置用户名密码 ipython In [1]: from notebook.auth import passwd In [2]: passwd() Enter password: Verify password: Out[2]: 'argon2:$argon2id$v=19$m=10240,t=10,p=8$F7jSEnEijHoEIyF6Bkw..原创 2022-03-31 16:32:59 · 2197 阅读 · 0 评论 -
机器学习 学习 手写神经网络
# 设置初始值import numpy as np# 输出原值解决回归问题(连续值)def identity_function(x): return xdef step_function(x): return np.array(x > 0, dtype=int)# 逻辑回归def sigmoid(x): return 1 / (1 + np.exp(-x))# 损失函数def relu(x): return np.maximum(0, x)原创 2022-02-19 14:33:12 · 77 阅读 · 0 评论 -
三层神经网络的基本定义
# 设置初始值import numpy as npdef identity_function(x): return xdef step_function(x): return np.array(x > 0, dtype=int)# 逻辑回归def sigmoid(x): return 1 / (1 + np.exp(-x))# 损失函数def relu(x): return np.maximum(0, x)# 1层神经网络a = np.原创 2022-02-18 17:14:19 · 937 阅读 · 0 评论 -
Centos 7 编译安装Python3.7(包括Airflow编译选项)
安装依赖和yum更新更新yum源(非必须)yum update安装编译依赖yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel libffi-devel gcc make下载Python3.7wget https://www.python...原创 2019-03-18 15:45:38 · 625 阅读 · 0 评论