ProbabilityMethod.log_likelihood#
missionbio.demultiplex.protein.pace.probability.ProbabilityMethod.log_likelihood
- ProbabilityMethod.log_likelihood(likelihood: ndarray) ndarray #
Calculate the log-likelihood of the data.
The 0 likelihood values are assigned the minimum log-likelihood value to avoid -inf values
- Parameters:
likelihood – The likelihood values
- Returns:
- np.ndarray
The log-likelihood values
< Class ProbabilityMethod