摘要: 梯度算法 梯度算法公式 其中α 表示速率计算步骤优先从右边计算 注意要保证$\theta_1$和$\theta_0$ 同时计算 For Example: 来看一道例题吧 Suppose \(\theta_0=1,\theta_1=2\) and we simultaneously update $\ 阅读全文
posted @ 2021-10-02 03:40 cbc3929 阅读(61) 评论(0) 推荐(0)
摘要: # 代价函数 * 代价函数的由来 一般来说给出一系列点欲求回归线性方程,即点到直线的距离最小 ![一系列的点](https://gitee.com/cc3929/Pic_go/raw/master/image/截图_20213202023228.png) 设对应关系为$H(x)$ 则希望$(H(x_ 阅读全文
posted @ 2021-10-02 03:39 cbc3929 阅读(79) 评论(0) 推荐(0)