Skip to content

vectorization of featureNormalization #6

Open
charlie219 wants to merge 1 commit intotjaskula:masterfrom
charlie219:master
Open

vectorization of featureNormalization #6
charlie219 wants to merge 1 commit intotjaskula:masterfrom
charlie219:master

Conversation

@charlie219
Copy link
Copy Markdown

i introduced a vectotised approch to the FeatureNoramlisation function which reduced the length of the code.

@anonrootkit
Copy link
Copy Markdown

More optimized code :

mu = mean(X_norm);
sigma = std(X_norm);
X_norm = (X_norm - mu) ./ sigma;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants