Aug. 31, 2023, 10:57 a.m. | /u/Excalibur-Prime

Deep Learning www.reddit.com

So I took the Andrew Ng course 2 of deep learning specialization. In it Andrew was normalizing input by subtracting mean and dividing it by the variance. Variance was calculated after subtracting mean from each example but on google I saw that there is the Z-score normalization where standard deviation is being used to divide the inputs by.
What is the accurate way of normalizing the inputs?

I am currently normalizing using the following python code
Input is a dataset …

andrew andrew ng andrew ng course course deep learning deeplearning deviation example google google i mean normalization standard variance z-score

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Risk Management - Machine Learning and Model Delivery Services, Product Associate - Senior Associate-

@ JPMorgan Chase & Co. | Wilmington, DE, United States

Senior ML Engineer (Speech/ASR)

@ ObserveAI | Bengaluru