Return the total cost for the data set ``data``. The flag ``convert`` should be set to False if the data set is the training data (the usual case), and to True if the data set is the validation or test data. See comments on the similar (but reversed) convention
(self, data, lmbda, convert=False)
source not stored for this graph (policy: none)
no test coverage detected