Displaying 1 result from an estimated 1 matches for "36603268".
2016 Apr 18
1
project test data into principal components of training dataset
...ting them in inkscape. Which is slightly complicated
plus the scaling is different.
Any indication how this mission can be accomplished very welcome!
Thanks and greets
Olsen
I started a threat on stackoverflow on that issue but know relevant
indications so far.
http://stackoverflow.com/questions/36603268/how-to-plot-training-and-test-validation-data-in-r-using-ggbiplot
##MWE
library(ggbiplot)
data(wine)
##pca on the wine dataset used as training data
wine.pca <- prcomp(wine, center = TRUE, scale. = TRUE)
wine$class <- wine.class
##simulate test data by generating three new wine classes
wi...