source: orange/Orange/doc/modules/outlier1.py @ 9671:a7b056375472

Revision 9671:a7b056375472, 432 bytes checked in by anze <anze.staric@…>, 2 years ago (diff)

Moved orange to Orange (part 2)

Line 
1# Description: Shows how to use outlier detection
2# Category:    Outlier detection
3# Classes:     orngOutlier
4# Uses:        bridges
5# Referenced:  OutlierDetection.htm
6
7try: 
8    import pstat, stats
9except:
10    print "Could not import library pstat or stats!"
11else:
12    import orange, orngOutlier
13
14    data = orange.ExampleTable("bridges")
15    outlierDet = orngOutlier.OutlierDetection()
16    outlierDet.setExamples(data)
17    print outlierDet.zValues()
Note: See TracBrowser for help on using the repository browser.