Changeset 4622:a15c6f8c4ff0 in orange


Ignore:
Timestamp:
05/08/08 00:38:56 (6 years ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
Convert:
f9e928283c034b89c046f9dc814e8c78997a043a
Message:

for test data, now filters out instances with no class

File:
1 edited

Legend:

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

    r4567 r4622  
    325325    def setTestData(self, data): 
    326326        """handle test data set""" 
    327         self.testdata = data 
     327        self.testdata = orange.Filter_hasClassValue(data) 
    328328        self.testDataBtn.setEnabled(self.testdata <> None) 
    329329        if self.testdata: 
Note: See TracChangeset for help on using the changeset viewer.