- Deep Learning Essentials
- Wei Di Anurag Bhardwaj Jianing Wei
- 72字
- 2021-06-30 19:17:54
Calculating errors
The first thing in backpropagation is to calculate the errors from forward propagation for your target value. The input provides y as a test for the accuracy of the network’s output, so we compute the following vector:
This is written in code as follows:
# define error, which is the difference between the activation function output from the last layer and the label
error = tf.sub(a_2, y)
推薦閱讀
- Introduction to DevOps with Kubernetes
- Hadoop 2.x Administration Cookbook
- Visual C# 2008開發技術詳解
- Docker Quick Start Guide
- 21天學通Visual Basic
- 電氣控制與PLC技術應用
- 統計挖掘與機器學習:大數據預測建模和分析技術(原書第3版)
- 嵌入式Linux系統實用開發
- Linux Shell Scripting Cookbook(Third Edition)
- Building Google Cloud Platform Solutions
- 30天學通Java Web項目案例開發
- 渲染王3ds Max三維特效動畫技術
- Getting Started with Tableau 2019.2
- Appcelerator Titanium Smartphone App Development Cookbook(Second Edition)
- 軟件需求十步走