(self, testdata)
Set a separate test dataset.
Set a separate test dataset.
Set a separate test dataset .
def set_testdataset(self, testdata):
        """Set a separate test dataset."""
        # Clear all results/scores
        for id in list(self.results):
            self.results[id] = None
        for id in list(self.curves):
            self.curves[id] = None

        self.testdata = testdata
def set_testdataset ( self , testdata ) : # Clear all results/scores for id in list ( self . results ) : self . results [ id ] = None for id in list ( self . curves ) : self . curves [ id ] = None self . testdata = testdata