使用python的matplotlib进行绘图,
打算学习神经网络,
打算做一个数据拟合的实验,
先熟悉在 python 里面绘图
import numpy as np
import matplotlib.pyplot as plt
#x range (0,3*PI) step ((3*PI-0))/99)
x = np.linspace(0, 3 * np.pi, 100)
nosie = np.random.uniform(-0.1 , 0.1, 100 )
y1 = np.sin(x)+nosie
y2 = np.sin(x)
#y3 = .
原创
2020-05-17 10:31:30 ·
327 阅读 ·
0 评论