We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a268f5 commit 5ceea0eCopy full SHA for 5ceea0e
lib/PDL/Demos/Stats.pm
@@ -52,6 +52,13 @@ $w->plot(
52
);
53
|],
54
55
+[act => q|
56
+# There's also a principal component analysis (PCA) clustering function
57
+$data = qsort random 10, 5; # 10 obs on 5 variables
58
+%r = $data->pca( { plot=>1, win=>$w } );
59
+# Here we can see that very nearly all the variance is in the first component.
60
+|],
61
+
62
[comment => q|
63
This concludes the demo.
64
0 commit comments