numpy-100 icon indicating copy to clipboard operation
numpy-100 copied to clipboard

Update 100_Numpy_exercises_with_solutions.md

Open rashedman opened this issue 1 year ago • 3 comments

22. Normalize a 5x5 random matrix (★☆☆)

The formula for calculating normalized score: X new = (X — X min)/ (X max — X min)

rashedman avatar Aug 19 '22 14:08 rashedman

The term "normalize" might be confusing but the goal is to have a resulting matrix with mean=0 and std=1.

rougier avatar Aug 31 '22 08:08 rougier

The term "normalize" might be confusing but the goal is to have a resulting matrix with mean=0 and std=1.

image https://www.youtube.com/watch?v=2tuBREK_mgE&list=PL0KQuRyPJoe6KjlUM6iNYgt8d0DwI-IGR&index=20&t=198s You need to watch this video You have confused normalization with standardization

rashedman avatar Aug 31 '22 08:08 rashedman

The other name is "Z-score normalization". Can you modify your PR to insert standardize then? Also, you need to make the PR on the generic file since all the .md .ipynb are genereted from this file.

rougier avatar Aug 31 '22 10:08 rougier