Calls sklearn from Python to perform PCA.
A matrix with the first two PC.
z = as.matrix(iris[,1:4])
pca = sklearn.pca(z)
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.