source: orange-bioinformatics/docs/reference/geo_gds6.py @ 1634:32373d957326

Revision 1634:32373d957326, 369 bytes checked in by mitar, 2 years ago (diff)

Renamed addon reference documentation.

Line 
1import obiGEO
2import orange
3import orngTest
4import orngStat
5
6gds = obiGEO.GDS("GDS2960")
7data = gds.getdata(sample_type="disease state", transpose=True)
8print "Samples: %d, Genes: %d" % (len(data), len(data.domain.attributes))
9
10learners = [orange.LinearLearner]
11results = orngTest.crossValidation(learners, data, folds=10)
12print "AUC = %.3f" % orngStat.AUC(results)[0]
Note: See TracBrowser for help on using the repository browser.