2023. 9. 21. 16:12ใArtificialIntelligence/2023GoogleMLBootcamp
Normalizing Activations in a Network
normalize๋ฅผ ํตํด ์๋ ด ์๋๋ฅผ ํฅ์์ํฌ ์ ์๋ค.
์ด๋ normalize์ ๋์์ a๊ฐ ์๋, z์ธ ๊ฒฝ์ฐ๊ฐ ๋ ๋ง๋ค.
(ํ์ฑํ ํจ์ ํต๊ณผํ ์ด์ ์ ๊ฐ์ normalize)
์ ํ ๋ณํ์ ์ํ ๊ฐ๋ง์ ๋ฒ ํ๋ Learnable params์ด๋ค!
๊ฐ๋ง์ ๋ฒ ํ
Fitting Batch Norm into a Neural Network
z์ a๋ฅผ ๊ณ์ฐํ๋ ์ฌ์ด์ ๋ค์ด๊ฐ๋ค
tf.nn.batch_normalization ํ ์ค์ ์ฝ๋๋ก ๊ตฌํํ ์ ์๋ค
Why does Batch Norm work?
batch norm์ input์ distribution์ด ๋ณํ๋ ๊ฒ์ ๋ง์์ค๋ค
speed up learning
์ด๊ธฐ ์ธต๋ค์ params update
์ ์ฒด full batch๋ noisyํ ์ ์๋ค.
๋ฐ๋ผ์ mini-batch์ mean๊ณผ variance๋ฅผ ์ฌ์ฉํ๋ค
side effect๋ก regularization ํจ๊ณผ๊ฐ ์๋ค
Batch Norm at Test Time
mini-batch ๋จ์ ๋ณ mean๊ณผ variance
rescaling -> ๋๋ค์ ๋ฒ ํ๋ฅผ ํตํ ์ ํ ๋ณํ
'ArtificialIntelligence > 2023GoogleMLBootcamp' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[GoogleML] Multi-class Classification (0) | 2023.09.23 |
---|---|
[GoogleML] Hyperparameter Tuning, Regularization and Optimization ์๋ฃ (0) | 2023.09.22 |
[GoogleML] Hyperparameter Tuning (1) | 2023.09.20 |
[GoogleML] Adam Optimizer (0) | 2023.09.20 |
[GoogleML] Optimization Algorithms (0) | 2023.09.20 |