class_docstr: Base class for all HMM wrappers, handles required overlap between packages.
docstr: Interface class which allows users to sample from their HMM.
code: def sample(self, n_samples=1, random_state=None, currstate=None):
      """Interface class which allows users to sample from their HMM."""
      return self._hmm_estimator.sample(
          n_samples, random_state, currstate
      )
  
file_path: sktime/sktime/annotation/hmm_learn/base.py
imports: import numpy
  import pandas
  from sktime.annotation.base import BaseSeriesAnnotator
label_desc: Use image node_id 5 for calling the BaseHMMLearn obj's underlying member method code with example usage: obj.sample(n_samples, random_state, currstate) and returns: self