Ignore:
Timestamp:
02/07/12 19:26:14 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
42219203d685928c8bb777610c858b7cc732a968
Message:

Modernized some example scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/statExamplesGraphRanks.py

    r9372 r9945  
    1 import orange, orngStat 
     1import Orange 
    22 
    33names = ["first", "third", "second", "fourth" ] 
    44avranks =  [1.9, 3.2, 2.8, 3.3 ]  
    5 cd = orngStat.compute_CD(avranks, 30) #tested on 30 datasets 
    6 orngStat.graph_ranks("statExamples-graph_ranks1.png", avranks, names, \ 
     5cd = Orange.evaluation.scoring.compute_CD(avranks, 30) #tested on 30 datasets 
     6Orange.evaluation.scoring.graph_ranks("statExamples-graph_ranks1.png", avranks, names, \ 
    77    cd=cd, width=6, textspace=1.5) 
Note: See TracChangeset for help on using the changeset viewer.