We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ceea0e commit b524b77Copy full SHA for b524b77
lib/PDL/Demos/Stats.pm
@@ -59,6 +59,12 @@ $data = qsort random 10, 5; # 10 obs on 5 variables
59
# Here we can see that very nearly all the variance is in the first component.
60
|],
61
62
+[act => q|
63
+# From that PCA we can plot the original vs PCA-transformed scores
64
+# along the first two components
65
+$data->plot_scores( $r{eigenvector}, {win=>$w} );
66
+|],
67
+
68
[comment => q|
69
This concludes the demo.
70
0 commit comments