- Mobile Artificial Intelligence Projects
- Karthikeyan NG Arun Padmanabhan Matt R. Cole
- 297字
- 2021-06-24 15:51:41
Gradient descent
Up until now, we have covered the different kind of neurons based on the activation functions that are used. We have covered the ways to quantify inaccuracy in the output of a neuron using cost functions. Now, we need a mechanism to take that inaccuracy and remedy it.
The mechanism through which the network can learn to output values closer to the expected or desired output is called gradient descent. Gradient descent is a common approach in machine learning for finding the lowest cost possible.
To understand gradient descent, let's use the single neuron equation we have been using so far:

Here, the following applies:
- x is the input
- w is the weight of the input
- b is the bias of the input
Gradient descent can be represented as follows:

Initially, the neuron starts by assigning random values for w and b. From that point onward, the neuron needs to adjust the values of w and b so that it lowers or decreases the error or cost (cross entropy).
Taking the derivative of the cross entropy (cost function) results in a step-by-step change in w and b in the direction of the lowest cost possible. In other words, gradient descent tries to find the finest line between the network output and expected output.
The weights are adjusted based on a parameter called the learning rate. The learning rate is the value that is adjusted to the weight of the neuron to get an output closer to the expected output.
Keep in mind that here, we have used only a single parameter; this is only to make things easier to comprehend. In reality, there are thousands upon millions of parameters that are taken into consideration to lower the cost.
- 大數(shù)據(jù)環(huán)境下圖書館文獻信息資源建設(shè)與利用
- 情報學(xué)與信息管理的主戰(zhàn)場:北京大學(xué)情報學(xué)與信息管理論壇文集
- 企業(yè)數(shù)字檔案館建設(shè)理論與實踐
- 地方檔案與文獻研究(第1輯)
- 公益 創(chuàng)新 服務(wù)
- 民國文獻辨?zhèn)螌W(xué)研究
- 網(wǎng)絡(luò)學(xué)術(shù)信息老化及應(yīng)對管理
- 探索與實踐:博物館與口述歷史
- Swift Game Development(Third Edition)
- 構(gòu)筑閱讀天堂:圖書館服務(wù)設(shè)計探索
- 國學(xué)研究文萃·文學(xué)卷
- Rust Programming By Example
- 基于知識治理的競爭情報協(xié)同模型研究
- 基于價值全面實現(xiàn)的檔案信息資源配置
- 高校圖書館創(chuàng)新服務(wù)(谷臻小簡·AI導(dǎo)讀版)