hopsy.Mixture.compute_negative_log_likelihood#
- Mixture.compute_negative_log_likelihood(self, x)#
- deprecated:: 1.4
Use
log_density()
instead.
Computes the negative logarithm of the weighted sum of the probability density functions of the model components
- Parameters:
x (numpy.ndarray[n, 1]) – Input vector
- Returns:
The (unnormalized) negative log-likelihood
- Return type:
float