source: orange/docs/reference/rst/code/freeviz-projector.py @ 10475:61c2249d671f

Revision 10475:61c2249d671f, 397 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: FreeViz projector
2# Category:    projection
3# Uses:        zoo
4# Referenced:  Orange.projection.linear
5# Classes:     Orange.projection.linear.FreeViz, Orange.projection.linear.Projector
6
7import Orange
8zoo = Orange.data.Table('zoo')
9
10optimizer = Orange.projection.linear.FreeViz()
11projector = optimizer(zoo)
12
13for e, projected in zip(zoo, projector(zoo))[:10]:
14    print e, projected
Note: See TracBrowser for help on using the repository browser.