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, 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, 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: from __future__ import print_function
  import warnings
  from abc import ABCMeta, abstractmethod
  from time import time
  import numpy
  from ..None import cluster
  from ..base import BaseEstimator
  from ..base import DensityMixin
  from ..externals import six
  from ..exceptions import ConvergenceWarning
  from ..utils import check_array, check_random_state
  from ..utils.extmath import logsumexp
label_desc: Use image node_id 20 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