WEBVTT

00:00:00.000 --> 00:00:05.018
The dimensionality reduction lab computes PCA and classical multidimensional scaling from the

00:00:05.018 --> 00:00:10.036
same standardized data. Each feature is centered and divided by its sample

00:00:10.036 --> 00:00:15.053
standard deviation; a constant feature uses one as the fallback divisor. For

00:00:15.053 --> 00:00:20.071
the saved eight observation sample, the standardized covariance eigenvalues are about two

00:00:20.071 --> 00:00:25.089
point nine six four seven two one, zero point zero three five

00:00:25.089 --> 00:00:30.107
zero three two, and zero point zero zero zero two four seven.

00:00:30.107 --> 00:00:35.124
Their sum is three. PCA retains the largest two, about ninety nine

00:00:35.124 --> 00:00:40.142
point nine nine one eight percent of variance. The page rounds this

00:00:40.142 --> 00:00:45.160
to one hundred point zero percent, which does not mean nothing was

00:00:45.160 --> 00:00:50.178
lost. All bars use two hundred pixels per covariance eigenvalue unit. The

00:00:50.178 --> 00:00:55.195
smallest bar is deliberately tiny; its numeric label gives its value.

00:00:55.195 --> 00:00:59.829
Try four observations with features one zero zero, zero one zero, minus

00:00:59.829 --> 00:01:04.463
one zero zero, and zero minus one zero. After sample standardization, their

00:01:04.463 --> 00:01:09.097
coordinates are plus or minus square root of one point five on

00:01:09.097 --> 00:01:13.731
the two varying axes. The third axis is constant zero. The exported

00:01:13.731 --> 00:01:18.364
PCA and MDS maps both contain these four points, up to the

00:01:18.364 --> 00:01:22.998
chosen eigenvector orientation, and preserve their pairwise distances. Adjacent points are square

00:01:22.998 --> 00:01:27.632
root of three apart; opposite points are square root of six apart.

00:01:27.632 --> 00:01:32.266
This diagram uses one hundred twenty pixels per standardized coordinate unit. Zero

00:01:32.266 --> 00:01:36.899
stress here follows from this planar Euclidean dataset; it is not a

00:01:36.899 --> 00:01:41.533
promise for every three dimensional input.

00:01:41.533 --> 00:01:46.235
Retention measures the sum of the two kept PCA eigenvalues divided by

00:01:46.235 --> 00:01:50.938
all nonnegative eigenvalues. Stress is the square root of squared pairwise distance

00:01:50.938 --> 00:01:55.640
errors divided by squared original distances. For this source, classical MDS takes

00:01:55.640 --> 00:02:00.342
Euclidean distances of the same standardized observations, so its two dimensional map

00:02:00.342 --> 00:02:05.044
agrees with PCA up to orientation. The sample retention is about ninety

00:02:05.044 --> 00:02:09.746
nine point nine nine one eight percent, while the page displays one

00:02:09.746 --> 00:02:14.449
hundred point zero after rounding. The planar example retains exactly all varying

00:02:14.449 --> 00:02:19.151
dimensions. These bars use six pixels per percentage point. Export gives every

00:02:19.151 --> 00:02:23.853
label and group and six decimal coordinates for both methods. The original

00:02:23.853 --> 00:02:28.555
full CSV remains evidence; a rounded summary alone does not prove zero

00:02:28.555 --> 00:02:33.257
distortion.
