source: orange/docs/reference/rst/code/logreg-singularities.py @ 9823:7f9c3f3c6474

Revision 9823:7f9c3f3c6474, 222 bytes checked in by lanumek, 2 years ago (diff)

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

Line 
1import Orange
2
3adult = Orange.data.Table("adult_sample")
4lr = Orange.classification.logreg.LogRegLearner(adult, removeSingular=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.