Ignore:
Timestamp:
02/06/12 20:01:02 (2 years ago)
Author:
lanumek
Branch:
default
Children:
9835:e48466fc6eb2, 9841:05a160804431
rebase_source:
8cf30121654f25c9cb6d8ac9bdaf163e305d62da
Message:

Changed names of data sets (table replaced with data or name of the data set).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/logreg-singularities.py

    r9818 r9823  
    11import Orange 
    22 
    3 table = Orange.data.Table("adult_sample") 
    4 lr = Orange.classification.logreg.LogRegLearner(table, remove_singular=1) 
     3adult = Orange.data.Table("adult_sample") 
     4lr = Orange.classification.logreg.LogRegLearner(adult, removeSingular=1) 
    55 
    6 for ex in table[:5]: 
     6for ex in adult[:5]: 
    77    print ex.getclass(), lr(ex) 
    88Orange.classification.logreg.dump(lr) 
Note: See TracChangeset for help on using the changeset viewer.