class_docstr: Mixin for manifolds of probability distributions.
class_docstr_tok: ["Mixin","for","manifolds","of","probability","distributions","."]
docstr: Sample from the probability distribution.
  
  Sample from the probability distribution with parameters provided
  by point. This gives n_samples points.
  
  Parameters
  ----------
  point : array-like, shape=[..., dim]
      Point representing a probability distribution.
  n_samples : int
      Number of points to sample for each set of parameters in point.
      Optional, default: 1.
  
  Returns
  -------
  samples : array-like, shape=[..., n_samples]
      Sample from the probability distributions.
docstr_tok: ["Sample","from","the","probability","distribution",".","Sample","from","the","probability","distribution","with","parameters","provided","by","point",".","This","gives","n_samples","points",".","Parameters","--","--","--","--","--","point",":","array-like",",","shape=","[","...",",","dim","]","Point","representing","a","probability","distribution",".","n_samples",":","int","Number","of","points","to","sample","for","each","set","of","parameters","in","point",".","Optional",",","default",":","1",".","Returns","--","--","--","-","samples",":","array-like",",","shape=","[","...",",","n_samples","]","Sample","from","the","probability","distributions","."]
code: def sample(self, point, n_samples=1):
      """Sample from the probability distribution.
  
      Sample from the probability distribution with parameters provided
      by point. This gives n_samples points.
  
      Parameters
      ----------
      point : array-like, shape=[..., dim]
          Point representing a probability distribution.
      n_samples : int
          Number of points to sample for each set of parameters in point.
          Optional, default: 1.
  
      Returns
      -------
      samples : array-like, shape=[..., n_samples]
          Sample from the probability distributions.
      """
      raise NotImplementedError(
          "The sample method is not yet implemented."
      )
  
imports: import math
  import geomstats.backend
  from geomstats.vectorization import get_batch_shape
label_desc: Use image node_id 2 for calling the InformationManifoldMixin obj's underlying member method code with example usage: obj.sample(point, n_samples) without return types