# Regarding Normalizing training sets

**URL:** <https://community.deeplearning.ai/t/regarding-normalizing-training-sets/873443>\
**Category:** Improving Deep Neural Networks: Hyperparameter tun\
**Tags:** week-module-1\
**Created:** [August 15, 2025, 4:58am UTC](https://community.deeplearning.ai/t/regarding-normalizing-training-sets/873443 "2025-08-15T04:58:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HuiminShi](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@HuiminShi](https://community.deeplearning.ai/u/HuiminShi)\
**Post date:** [August 15, 2025, 4:58am UTC](https://community.deeplearning.ai/t/regarding-normalizing-training-sets/873443/1 "2025-08-15T04:58:50Z")

</div>

In screenshot below, to normalize x1 and x2, make sure the normalized result in between [-1,1], shouldn’t we divide x by sigma, instead of sigma square? Not sure if this a typo or my misunderstanding.

 ![normalizing](https://global.discourse-cdn.com/dlai/original/3X/a/7/a730dd89eb9d2e059b85483292b3dc05bcf8b4e2.png)

I tried to test this use simplest sample:

x1 = [1,3], x2 = [1,5];  
After subtract mean, x1 = [-1,1], x2=[-2,2]  
Sigma square (x1) = (1+1)/2 = 1  
Sigma square (x2) = (4+4)/2 = 4

if we divide by sigma square, it will make x1=[-1,1], x2=[-1/2,1/2], in this case x2’s variance is not around 1?

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [August 15, 2025, 6:13am UTC](https://community.deeplearning.ai/t/regarding-normalizing-training-sets/873443/2 "2025-08-15T06:13:12Z")

</div>

In the context of normalization it should be not squared, but maybe there is a different context here which I can’t remember right now because its been a long time.

---

<div class="post-metadata">

**Author:** ![rmwkwok](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/rmwkwok/32/126977_2.png) [@rmwkwok](https://community.deeplearning.ai/u/rmwkwok)\
**Post date:** [August 16, 2025, 1:14am UTC](https://community.deeplearning.ai/t/regarding-normalizing-training-sets/873443/4 "2025-08-16T01:14:49Z")

</div>

Hello @HuiminShi ,

It should be sigma that we want to use here, not sigma squared.

Below is a screenshot of the lecture which is using sigma. Did you get your screenshot from the slide PDF file? Note that only the lecture video is maintained but the PDF files are not.

 ![image](https://global.discourse-cdn.com/dlai/original/3X/0/5/0502373429e18700d8e7e79479b171e96336b27d.jpeg)

Cheers,  
Raymond

---

<div class="post-metadata">

**Author:** ![HuiminShi](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@HuiminShi](https://community.deeplearning.ai/u/HuiminShi)\
**Post date:** [August 17, 2025, 12:28am UTC](https://community.deeplearning.ai/t/regarding-normalizing-training-sets/873443/5 "2025-08-17T00:28:03Z")

</div>

Thank you so much Raymond, that explains. Yeah, I was reading the pdf file for this part earlier and got confused here. Now it’s all clear now, thank you! 👏
