source: orange/docs/reference/rst/code/pca-scree.py @ 10475:61c2249d671f

Revision 10475:61c2249d671f, 339 bytes checked in by Matija Polajnar <matija.polajnar@…>, 2 years ago (diff)

Major refactorization of linear projections, fixing some bugs in the process.

Line 
1# Description: Scree plot of PCA on iris data set
2# Category:    projection
3# Uses:        iris
4# Referenced:  Orange.projection.pca
5# Classes:     Orange.projection.pca.Pca, Orange.projection.pca.PcaClassifier
6
7import Orange
8iris = Orange.data.Table("iris.tab")
9
10pca = Orange.projection.linear.Pca()(iris)
11pca.scree_plot("pca-scree.png")
Note: See TracBrowser for help on using the repository browser.