source: orange/docs/reference/rst/code/logreg-singularities.py @ 10633:fb05a6f3a235

Revision 10633:fb05a6f3a235, 223 bytes checked in by mstajdohar, 2 years ago (diff)

Changed obsolete names.

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