TensorFlow 实现非线性回归
B站“深度学习框架Tensorflow学习与应用”,P8 3-1
import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt
x_data = np.linspace(-0.5,0.5,200)[:,np.newaxis] #x_data.shape=(200,1)
noise = np.random....
原创
2019-09-11 15:42:04 ·
199 阅读 ·
0 评论