PCA-Ergebnisse visualisieren und interpretieren

Unüberwachtes Lernen in R

Hank Roark

Senior Data Scientist at Boeing

Biplot

Biplot

Unüberwachtes Lernen in R

Scree-Plot

Scree-Plot

Unüberwachtes Lernen in R

Biplots in R

# Creating a biplot
pr.iris <- prcomp(x = iris[-5], 
                  scale = FALSE, 
                  center = TRUE)
biplot(pr.iris)

Biplot

Unüberwachtes Lernen in R

Scree-Plots in R

# Getting proportion of variance for a scree plot
pr.var <- pr.iris$sdev^2
pve <- pr.var / sum(pr.var)

# Plot variance explained for each principal component plot(pve, xlab = "Principal Component", ylab = "Proportion of Variance Explained", ylim = c(0, 1), type = "b")
Unüberwachtes Lernen in R

Scree-Plot

Unüberwachtes Lernen in R

Lass uns üben!

Unüberwachtes Lernen in R

Preparing Video For Download...