class_docstr: Base class for mixture models.
  
  This abstract class specifies an interface for all mixture classes and
  provides basic common methods for mixture models.
docstr: Estimate log probabilities and responsibilities for each sample.
  
  Compute the log probabilities, weighted log probabilities per
  component and responsibilities for each sample in X with respect to
  the current state of the model.
  
  Parameters
  ----------
  X : array-like of shape (n_samples, n_features)
  
  Returns
  -------
  log_prob_norm : array, shape (n_samples,)
      log p(X)
  
  log_responsibilities : array, shape (n_samples, n_components)
      logarithm of the responsibilities
code: def _estimate_log_prob_resp(self, X):
      """Estimate log probabilities and responsibilities for each sample.
  
      Compute the log probabilities, weighted log probabilities per
      component and responsibilities for each sample in X with respect to
      the current state of the model.
  
      Parameters
      ----------
      X : array-like of shape (n_samples, n_features)
  
      Returns
      -------
      log_prob_norm : array, shape (n_samples,)
          log p(X)
  
      log_responsibilities : array, shape (n_samples, n_components)
          logarithm of the responsibilities
      """
      weighted_log_prob = self._estimate_weighted_log_prob(X)
      log_prob_norm = logsumexp(weighted_log_prob, axis=1)
      with np.errstate(under="ignore"):
          # ignore underflow
          log_resp = weighted_log_prob - log_prob_norm[:, np.newaxis]
      return log_prob_norm, log_resp
  
imports: import warnings
  from abc import ABCMeta, abstractmethod
  from numbers import Integral, Real
  from time import time
  import numpy
  from scipy.special import logsumexp
  from ..None import cluster
  from ..base import BaseEstimator, DensityMixin, _fit_context
  from ..cluster import kmeans_plusplus
  from ..exceptions import ConvergenceWarning
  from ..utils import check_random_state
  from ..utils._param_validation import Interval, StrOptions
  from ..utils.validation import check_is_fitted
label_desc: Use image node_id 19 for calling the BaseMixture obj's underlying member method code with example usage: obj._estimate_log_prob_resp(X) and returns: log_prob_norm,  log_resp