Skip to content

Commit

Permalink
removing a confusing and mostly useless sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
karpathy committed Nov 4, 2016
1 parent bf3acc3 commit 26e6b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neural-networks-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The (i,j) element of the data covariance matrix contains the *covariance* betwee
U,S,V = np.linalg.svd(cov)
```

where the columns of `U` are the eigenvectors and `S` is a 1-D array of the singular values (which are equal to the eigenvalues squared since `cov` is symmetric and positive semi-definite). To decorrelate the data, we project the original (but zero-centered) data into the eigenbasis:
where the columns of `U` are the eigenvectors and `S` is a 1-D array of the singular values. To decorrelate the data, we project the original (but zero-centered) data into the eigenbasis:

```python
Xrot = np.dot(X, U) # decorrelate the data
Expand Down

0 comments on commit 26e6b13

Please sign in to comment.