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 深度學習|內行人的做法
訓練神經網路
|
61
訓練神經網路
一個訓練得很好的人工神經網路,其權重就會有放大信號同時抑制雜訊的效果。權重越
大,就代表信號與網路結果之間的關係越緊密。對應到較大權重值的輸入資料,不僅會
影響網路對資料的解釋方式,還會影響到較小權重值所對應的輸入資料。
任何學習演算法利用權重進行學習的過程,其實就是重新調整權重值和偏差值的過程,
它會讓某些值變小、某些值變大,從而把重要性分配給某些訊息,同時把另一些訊息的
影響最小化。這有助於讓我們的模型了解,其中有哪些預測因子(或特徵)與哪些結果
相關聯,並據此調整權重值和偏差值。
大多數的資料集,其中總有某些特徵與某些標籤密切相關(例如,房屋坪數與銷售價
格的關係)。神經網路可盲目根據輸入和權重做出推測,然後再衡量結果的正確率有多
高。最佳化演算法(例如 SGD
—
隨機梯度遞減法)其中的損失函數,就會在網路做出
良好推測時給予獎勵,並在誤判時給予懲罰。SGD 會調整網路的參數,好讓這些參數做
出良好的預測,並盡可能避免做出錯誤的預測。
觀察學習過程的另一種方式,就是把標籤視為「理論」,並把特徵集合視為「證據」。然
後我們就可以說,網路試圖建立理論和證據之間的關聯。模型試圖回答「證據究竟支持
哪一種理論?」這樣的問題。在這樣的想法之下,我們可以來看看最常見的其中一種神
經網路相關的學習演算法:
反向傳播
(
backpropagation
)
學習演算法
。
反向傳播學習
「反向傳播(backpropagation)」對於神經網路模型降低誤差方面,可說是扮演了非常
重要的角色。如果要解釋反向傳播 ...
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