source: orange/docs/reference/rst/code/logreg-singularities.py @ 9818:2ec8ecdb81e5

Revision 9818:2ec8ecdb81e5, 223 bytes checked in by Matija Polajnar <matija.polajnar@…>, 2 years ago (diff)

Finish the logreg refactoring, along with documentation improvement.

Line 
1import Orange
2
3table = Orange.data.Table("adult_sample")
4lr = Orange.classification.logreg.LogRegLearner(table, remove_singular=1)
5
6for ex in table[:5]:
7    print ex.getclass(), lr(ex)
8Orange.classification.logreg.dump(lr)
Note: See TracBrowser for help on using the repository browser.