摘要: 线性回归 预测函数: \[ h_\theta(x)=\theta_0 + \theta_1x_1 + \theta_2x_2 \] 将$x_0 = 1$ \[ h_\theta(x) = \sum_{i=0}^n\theta_ix_i \] 其中 $\theta$这参数,n表示特征数量 成本函数: 阅读全文
posted @ 2017-02-22 22:02 hwYang 阅读(522) 评论(0) 推荐(0) 编辑