Skip to Content
深度學習|內行人的做法
book

深度學習|內行人的做法

by Josh Patterson, Adam Gibson
January 2019
Beginner to intermediate
576 pages
14h 31m
Chinese
GoTop Information, Inc.
Content preview from 深度學習|內行人的做法
深度網路構建模塊
|
119
交叉熵:206
交叉熵:140
交叉熵:78
交叉熵:4
圖 3-6 用 RBM 重建出 MNIST 數字
如果訓練資料呈現常態分佈(normal distribution),就表示大多數訓練資料集中在中間
的
平均值
附近,而且越偏離平均值,樣本的數量就越稀少。這種分佈看起來就像是一個
鐘形曲線。只要知道常態分佈資料的平均值與變異量(或 sigma),就可以重建出該曲
線。但是,假設我們並不知道平均值和變異量。那是我們需要去推測的參數。我們可以
先用隨機的方式挑選平均值和變異量,然後生成曲線,再與原始資料進行比對,這種做
法就很類似於損失函數的概念。我們可以衡量兩個機率分佈之間的差異(就像我們衡量
分類的誤差一樣),接著調整一下參數,然後再試一次。
重建交叉熵
這裡所用的目標函數通常是重建交叉熵(reconstruction cross-entropy)
或 KL 散 度(KL divergence,數學家和密碼分析師 Solomon Kullback
與 Richard Leibler 在 1951 年首次發表了關於該技術的論文)。「交叉
(cross)」是指兩種分佈之間的比較。「熵(entropy)」是一個來自資訊
理論的術語,指的是不確定性。舉例來說,分佈很廣或變異量很大的常態
曲線,也就意味著資料點會落在哪裡的不確定性比較大。這種不確定性就
是所謂的熵。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
机器学习和AI精粹

机器学习和AI精粹

诺亚·吉夫特
初探深度學習|使用TensorFlow

初探深度學習|使用TensorFlow

Reza Zadeh, Bharath Ramsundar

Publisher Resources

ISBN: 9789865020262