Open dlsun opened 5 years ago
Implement a method to get the likelihood of a fitted model on data.
The API should be:
def likelihood(self, data=None):
where data is optional. (If it is not specified, then the training data should be used.)
data
Sorry, this function should probably be log_likelihood.
log_likelihood
Discussed offline, and maybe data should not be an argument at all to this function. This would be consistent with R's logLik.
logLik
Implement a method to get the likelihood of a fitted model on data.
The API should be:
where
data
is optional. (If it is not specified, then the training data should be used.)