摘要: Normal equation: Method to solve for θ analytically 正规方程:分析求解θ的方法 对于损失函数 \[J\left( {{\theta _0},{\theta _1},...,{\theta _n}} \right) = \frac{1}{{2m}}\ 阅读全文
posted @ 2018-10-23 22:39 qkloveslife 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Features and Polynomial Regression We can improve our features and the form of our hypothesis function in a couple different ways. 我们可以通过几种不同的方式改进我们的特 阅读全文
posted @ 2018-10-23 21:15 qkloveslife 阅读(217) 评论(0) 推荐(0) 编辑
摘要: “Debugging”: How to make sure gradient descent is working correctly 怎样确保梯度下降算法正确的运行 迭代次数从100-200时,损失函数变化较大; 迭代次数从300-400时,损失函数变化不大,说明算法在300处开始收敛 通过画出损 阅读全文
posted @ 2018-10-23 20:17 qkloveslife 阅读(817) 评论(0) 推荐(0) 编辑