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

    r9994 r10502  
    9494    def __call__(self, instances, weight_id = 0, **kwds): 
    9595        if not Orange.multilabel.is_multilabel(instances): 
    96             raise TypeError("The given data set is not a multi-label data set.") 
     96            raise TypeError("The given data set is not a multi-label data set" 
     97                            " with class values 0 and 1.") 
    9798 
    9899        for k in kwds.keys(): 
Note: See TracChangeset for help on using the changeset viewer.