Skip to main content
. 2018 Jun 28;18(7):2080. doi: 10.3390/s18072080
Algorithm 1 Normalization
Input: CNN Network and mini-batch Bx
Output: Normalized sample data By
1. Mini-batch mean: μ=1si=1sxi
2. Mini-batch variance: σ2=1si=1s(xiμ)2
3. Normalized value: yi=xiμσ
4. Update the global mean: μB=(1φ)μB+φμ
5. Update the global variance: σB2=(1ψ)*σB2+ψ*σ2
6. Update the momentum value φ: φ=φγLφ
7. Update the momentum value ψ: ψ=ψγLψ