Sample Questions
Each eigenvalue of the covariance (or correlation) matrix equals the variance of the data when projected onto the corresponding principal component. Larger eigenvalues indicate directions that capture more variation in the data.
A scree plot has the component number on the x-axis and the corresponding eigenvalue on the y-axis. It is used to visually identify the point at which additional components provide diminishing returns in variance explained.
Cluster 1: , centroid
Cluster 1 WCSS:
-
-
-
- Sum =
Cluster 2: , centroid
Cluster 2 WCSS:
-
-
-
- Sum =
Total WCSS .
Watch the naming convention. This total is what ISLR's clustering lab calls the total within-cluster sum of squares and what R's kmeans reports as tot.withinss. ISLR separately defines the within-cluster variation of a cluster as , whose sum runs over ordered pairs and so equals . For these two clusters that doubled quantity is . Both versions have the same minimizer, so K-means behaves identically either way, but when a prompt asks for total within-cluster variation rather than the sum of squares, double the figure computed here.