Coursera
Coursera copied to clipboard
vectorization of featureNormalization
i introduced a vectotised approch to the FeatureNoramlisation function which reduced the length of the code.
More optimized code :
mu = mean(X_norm);
sigma = std(X_norm);
X_norm = (X_norm - mu) ./ sigma;