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 深度學習|內行人的做法
112
|
第三章:深度網路基礎
L2。 另一方面,由於 L2 正則化具有可解析解與非稀疏輸出,因此其計算效率很高,
但它無法自動為我們進行特徵選擇。「L2」正則化函數是一種常見而簡單的超參數,它
會在目標函數中添加一個項,以降低平方權重值。我們會引用一個所謂的「權重成本係
數」,再乘上二分之一權重平方和。L2 可以增進通用性,在輸入有變化時讓模型的輸出
變化比較平滑,而且可以讓網路忽略掉沒有使用到的權重值。
小批量
所謂小批量(mini-batching)的做法
16
,指的就是一次發送多個(一組或一批)輸入向
量,給學習系統進行訓練。這種做法可以讓我們在電腦架構層面上更有效率地使用硬體
資源。這種方法還可以讓我們以向量化方式計算某些線性代數運算(尤其是矩陣與矩陣
的乘法運算)。在這樣的情況下,我們就可以選擇把向量化計算送到 GPU 進行更高效率
的運算。
總結
我們在第 2 章中,已學到一些可用於正向饋送多層神經網路的基本正則化工具。接著我
們會把定義進一步擴展到一些新技術和超參數選項,以找出更好的參數向量。現在就讓
我們把這些想法彙整一下,為深度網路打造出一些基本的構建模塊(building blocks)。
深度網路構建模塊
打造深度網路的難度,遠超過基本的正向饋送多層神經網路。在某些情況下,深度網路
會把一些比較小的網路整合起來,組合成一些構建模塊(building block),再整合到比
較大的網路之中;有時候我們也會把特定某幾層結構,組合成構建模塊。以下就是我們
想要強調的幾種特定構建模塊:
• 正向饋送多層神經網路 ...
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