source: orange/orange/Orange/multilabel/multibase.py @ 9505:4b798678cd3d

Revision 9505:4b798678cd3d, 463 bytes checked in by matija <matija.polajnar@…>, 2 years ago (diff)

Merge in the (heavily modified) MLC code from GSOC 2011 (modules, documentation, evaluation code, regression test). Widgets will be merged in a little bit later, which will finally close ticket #992.

Line 
1import Orange
2from Orange.core import BayesLearner as _BayesLearner
3
4class MultiLabelLearner(Orange.classification.Learner):
5    def __new__(cls, **argkw):
6        self = Orange.classification.Learner.__new__(cls, **argkw)
7        return self
8   
9    def __init__(self, **argkw):
10        self.__dict__.update(argkw)
11       
12class MultiLabelClassifier(Orange.classification.Classifier):
13    def __init__(self, **argkw):
14        self.__dict__.update(argkw)
15     
Note: See TracBrowser for help on using the repository browser.