Ignore:
Timestamp:
03/13/12 14:20:28 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Make multi-label warning and errors more clear on what a 'multi-label dataset' is from our perspective; Miha warned me students had troubles with this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/multilabel/lp.py

    r9994 r10502  
    8484    def __call__(self, instances, base_learner = None, weight_id = 0, **kwds): 
    8585        if not Orange.multilabel.is_multilabel(instances): 
    86             raise TypeError("The given data set is not a multi-label data set.") 
     86            raise TypeError("The given data set is not a multi-label data set" 
     87                            " with class values 0 and 1.") 
    8788 
    8889        self.__dict__.update(kwds) 
Note: See TracChangeset for help on using the changeset viewer.