source: orange/docs/reference/rst/code/pca-scree.py @ 9823:7f9c3f3c6474

Revision 9823:7f9c3f3c6474, 336 bytes checked in by lanumek, 2 years ago (diff)

Changed names of data sets (table replaced with data or name of the data set).

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.pca.Pca()(iris)
11pca.scree_plot("pca-scree.png")
Note: See TracBrowser for help on using the repository browser.