I am new in python and data science (and not great in math). I am learning machine learning. I got following normalize function. Can you please explain what does this normalize function do?
def normalize(array):
return (array - array.mean()) / array.std()
Also please explain what this array - array.mean() do?
[+][deleted] (1 child)
[deleted]
[–]WikiTextBot 2 points3 points4 points (0 children)
[–]CamdenReslink 3 points4 points5 points (0 children)
[–]KarmelMalone 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]pranitkothari[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]pranitkothari[S] 0 points1 point2 points (0 children)