How to handle error with gradient descent fitting

后端 未结 0 1182
失恋的感觉
失恋的感觉 2021-01-23 05:23

I have a set of points x and y:

sport numpy as np
np.random.seed(11)
x = np.linspace(0, 10, 98)
y = 5.0*x + 2.0 + np.random.uniform(-1.0, 1.0, x.shape)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题