Ignore:
Timestamp:
01/27/12 23:39:05 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Multi-label classificaiton widgets. Merged in from Wencan Luo's work with some modifications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Evaluate/OWLiftCurve.py

    r9505 r9599  
    1414import orngStat, orngEval 
    1515import statc, math 
     16from Orange.evaluation.testing import TEST_TYPE_SINGLE 
    1617 
    1718class singleClassLiftCurveGraph(singleClassROCgraph): 
     
    347348            return 
    348349 
     350        if dres and dres.test_type != TEST_TYPE_SINGLE: 
     351            self.warning(0, "Lift curve is supported only for single-target prediction problems.") 
     352            return 
     353        self.warning(0, None) 
     354 
    349355        self.defaultPerfLinePValues = [] 
    350356        if self.dres <> None: 
Note: See TracChangeset for help on using the changeset viewer.