code: def __init__(self, model):
      super().__init__()
      self.__model = model
      self.__topic_indexes = None
      self.__alias_tables = None
      self.__prob_sum = None
      self.__beta_alias = VoseAlias()
      self.__beta_prior_sum = None
      self.__mh_steps = 2
      self.__construct_alias_table()
  
imports: import os
  import numpy
  from tqdm import tqdm
  from paddlehub.common.logger import logger
  from slda_weibo.document import LDADoc, SLDADoc, Token, Sentence
  from slda_weibo.vose_alias import VoseAlias
  from slda_weibo.util import rand, rand_k
label_desc: Use image node_id 1 to create a new MHSampler object from inherited base classes: Sampler with example: obj = MHSampler(model)