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/mlknn.py

    r10417 r10502  
    143143    def __call__(self, instances, weight_id = 0, **kwds): 
    144144        if not Orange.multilabel.is_multilabel(instances): 
    145             raise TypeError("The given data set is not a multi-label data set.") 
     145            raise TypeError("The given data set is not a multi-label data set" 
     146                            " with class values 0 and 1.") 
    146147         
    147148        self.__dict__.update(kwds) 
Note: See TracChangeset for help on using the changeset viewer.