课堂笔记 - 深度学习 Deep Learning (10)

在上一篇Error Function中,可以看到依照w的不同决定了线的偏差值多寡,
此篇要介绍的是当随便取了一个值w之後该如何对w进行校正。

  • Gradient Descent

https://ithelp.ithome.com.tw/upload/images/20211026/20142783Ci7E9IZT6Q.png

图中是上一篇的Error Function点图,目标是E(w)要越趋近於0,也就是要求最低点。
所以可以透过微分去看点在线上的斜率来去调整。
https://ithelp.ithome.com.tw/upload/images/20211026/201427837iS6fhcVct.png

η负责调整梯度下降的幅度,避免一次下降/上升太多 也称为learning rate

  1. 斜率 > 0 时,会知道点在我们所需的最小偏差值的边,因此校正为:
    https://ithelp.ithome.com.tw/upload/images/20211026/20142783Z8ElvnUzLm.png

  2. 斜率 < 0 时,会知道点在我们所需的最小偏差值的边,因此校正为:
    https://ithelp.ithome.com.tw/upload/images/20211026/201427837c1VoCx1Aw.png

由上可知公式:
https://ithelp.ithome.com.tw/upload/images/20211026/201427836yBZnjnsZ5.png


<<:  微服务(microservices)

>>:  Modbus RTU简介(上)

毒贩被黑吃黑

故事简述 这起案件发生在 2020 年 1 月,7 人组成的强盗集团在 Hudson Valley ...

[Day6]PHP运算符01

PHP运算符 算数运算符 跟国中小数学基本数学知识相同。 <?php $a = 1; $b =...

[Day 28] - 手把手跨出第一步!– (1)烧录闪烁程序到Arduino Part.1

17King 制造中,订阅一下吧(*´∀`)~♥ 今日影片长度:07 分 32 秒 本集重点条列: ...

Day 06 Use automated machine learning in Azure Machine Learning

To use Azure Machine Learning Create an Azure Mach...

JavaScript Day14 - event(1)

event event(事件):在 DOM 物件上所发生的事件,如点击、滑动、变更等都是 事件处理与...