(self, set_to_use='test')
return self.model.test(data)
Tests self.model on self.test_data.
        
        Args:
            set_to_use. Set to test on. Should be in ['train', 'test'].
        Return:
            dict of metrics returned by the model.
Tests self.model on self.test_data.
        
        Args:
            set_to_use. Set to test on. Should be in ['train', 'test'].
        Return:
            dict of metrics returned by the model.
Tests self . model on self . test_data . Args : set_to_use . Set to test on . Should be in [ train test ] . Return : dict of metrics returned by the model .
def test(self, set_to_use='test'):
        """Tests self.model on self.test_data.
        
        Args:
            set_to_use. Set to test on. Should be in ['train', 'test'].
        Return:
            dict of metrics returned by the model.
        """
        assert set_to_use in ['train', 'test', 'val']
        if set_to_use == 'train':
            data = self.train_data
        elif set_to_use == 'test' or set_to_use == 'val':
            data = self.eval_data
        return self.model.test(data)
def test ( self , set_to_use = 'test' ) : assert set_to_use in [ 'train' , 'test' , 'val' ] if set_to_use == 'train' : data = self . train_data elif set_to_use == 'test' or set_to_use == 'val' : data = self . eval_data return self . model . test ( data )