ajboyd2 / salmon

Other
8 stars 2 forks source link

Implement likelihood method #3

Open dlsun opened 5 years ago

dlsun commented 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.)

dlsun commented 5 years ago

Sorry, this function should probably be log_likelihood.

dlsun commented 5 years ago

Discussed offline, and maybe data should not be an argument at all to this function. This would be consistent with R's logLik.