source: orange/docs/reference/rst/code/pca-run.py @ 9372:aef193695ea9

Revision 9372:aef193695ea9, 328 bytes checked in by mitar, 2 years ago (diff)

Moved documentation to the separate directory.

Line 
1# Description: 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)
11transformed_data = pca(iris)
12
13print pca
Note: See TracBrowser for help on using the repository browser.