摘要:
1、代码 x <- seq(-2*pi, 2*pi, 0.1) z <- pi*(-2:2) labels <- paste(-2:2,"π", sep="") # 绘制正弦曲线 plot(x, tan(x), type="o", pch=4, col=2, ylim=c(-1.5, 1.5), x 阅读全文
posted @ 2019-11-09 22:28
赏尔
阅读(418)
评论(0)
推荐(0)
摘要:
感知机算法,代码如下: import numpy as np class Perceptron(): """感知机分类器 参数 eta: 学习速率,区间 [0.0, 1.0] 上的浮点数 n_iter: 迭代次数 属性 w_: 权重,1维数组 errors_: 以列表形式存储每一次迭代过程中分类错误 阅读全文
posted @ 2019-11-09 16:39
赏尔
阅读(295)
评论(0)
推荐(0)
摘要:
https://pan.baidu.com/s/1JlZM3ltkpaJVM5oZypw7Og 提取码:9tah 阅读全文
posted @ 2019-11-09 14:12
赏尔
阅读(617)
评论(0)
推荐(1)

浙公网安备 33010602011771号