一元线性回归(梯度下降法)
实战:梯度下降法实现一元线性回归用代码实现一元线性回归问题
用代码实现一元线性回归问题
代码片.
// An highlighted block
import numpy as np
import matplotlib.pyplot as plt
# 载入数据
data = np.genfromtxt("../data.csv", delimiter=",")
原创
2019-03-07 11:59:48 ·
2019 阅读 ·
0 评论