Ignore:
Timestamp:
02/06/12 20:00:44 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
rebase_source:
50b865d3d6764767b1ca538019c5b08631aee272
Message:

Finish the logreg refactoring, along with documentation improvement.

File:
1 edited

Legend:

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

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