PCA sonuçlarını görselleştirme ve yorumlama

R ile Denetimsiz Öğrenme

Hank Roark

Senior Data Scientist at Boeing

Biplot

biplot

R ile Denetimsiz Öğrenme

Çakıl grafiği

çakıl grafiği

R ile Denetimsiz Öğrenme

R'de biplotlar

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

biplot

R ile Denetimsiz Öğrenme

R'de çakıl grafikleri

# 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")
R ile Denetimsiz Öğrenme

çakıl grafiği

R ile Denetimsiz Öğrenme

Hadi pratik yapalım!

R ile Denetimsiz Öğrenme

Preparing Video For Download...