Ignore:
Timestamp:
02/05/12 22:37:07 (2 years ago)
Author:
umek@…
Branch:
default
rebase_source:
eb6a120705f3462186b982a698c0a7ad9f947e24
Message:

Changed table to data or name of the data set.

For example - instead of

table = Orange.data.Table("housing")

is changed to

housing = Orange.data.Table("housing")

File:
1 edited

Legend:

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

    r9372 r9638  
    88import Orange.statistics.contingency as cont 
    99 
    10 data = Orange.data.Table("bridges") 
    11 cm = cont.VarVar("PURPOSE", "MATERIAL", data) 
     10bridges = Orange.data.Table("bridges") 
     11cm = cont.VarVar("PURPOSE", "MATERIAL", bridges) 
    1212ca = corr.CA(cm) 
    1313 
     
    1717         
    1818print "PURPOSE" 
    19 report(ca.column_factors(), data.domain["PURPOSE"].values) 
     19report(ca.column_factors(), bridges.domain["PURPOSE"].values) 
    2020print  
    2121 
    2222print "MATERIAL" 
    23 report(ca.row_factors(), data.domain["PURPOSE"].values) 
     23report(ca.row_factors(), bridges.domain["PURPOSE"].values) 
    2424print  
Note: See TracChangeset for help on using the changeset viewer.