Skip to content

Commit e3d02f5

Browse files
committed
do minor corrections
1 parent a656290 commit e3d02f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/linear-algebra.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Now compute the covariance matrix together with its eigenvectors and eigenvalues
253253
M = transpose(X)*X
254254
P = eigvecs(M)
255255
E = eigvals(M)
256-
# divide E by r=150 to get variance
256+
# divide E by r-1=150-1=149 to get variance
257257
258258
.. code-block:: text
259259
@@ -296,7 +296,7 @@ The basis :math:`P` of eigenvectors we got above is orthogonal and normalized:
296296
4.7765e-16 -4.7269e-16 1.0 1.55799e-17
297297
2.98372e-16 -1.41867e-16 1.55799e-17 1.0
298298
299-
We may perform dimensionality reduction by projecting the data to this subspace:
299+
We may perform dimensionality reduction by projecting the data to a smaller subspace:
300300

301301
.. code-block:: julia
302302

0 commit comments

Comments
 (0)