code_6.py 143 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2
plt.plot(X_train, y_train, 'r.', label='Training data') # 显示训练数据
line_X = np.linspace(X_train.min(), X_train.max(), 500) # X值域