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

    r9505 r9599  
    1212import orngStat, orngTest 
    1313import statc, math 
     14import warnings 
     15from Orange.evaluation.testing import TEST_TYPE_SINGLE 
    1416 
    1517def TCconvexHull(curves): 
     
    973975            self.openContext("", dres) 
    974976            return 
     977 
     978        if dres and dres.test_type != TEST_TYPE_SINGLE: 
     979            self.warning(0, "ROC is implemented only for single-target prediction problems.") 
     980            return 
     981        self.warning(0, None) 
     982 
    975983        self.dres = dres 
    976984 
Note: See TracChangeset for help on using the changeset viewer.