source: orange/docs/reference/rst/code/ @ 9372:aef193695ea9

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

Moved documentation to the separate directory.

1# Description: Ranking and selection of best N attributes
2# Category:    feature selection
3# Uses:        voting
4# Referenced:  Orange.feature.html#selection
5# Classes:     Orange.feature.scoring.score_all, Orange.feature.selection.bestNAtts
7import Orange
8table ="voting")
10n = 3
11ma = Orange.feature.scoring.score_all(table)
12best = Orange.feature.selection.bestNAtts(ma, n)
13print 'Best %d features:' % n
14for s in best:
15    print s
Note: See TracBrowser for help on using the repository browser.