code: def __init__(self, ebunch=None, latents=set()):
      logger.warning(
          "MarkovModel has been renamed to MarkovNetwork. Please use MarkovNetwork class, MarkovModel will be removed in future."
      )
      super(MarkovModel, self).__init__(ebunch=ebunch, latents=latents)
  
imports: from pgmpy.global_vars import logger
  from pgmpy.models import MarkovNetwork
label_desc: Use image node_id 1 to create a new MarkovModel object from inherited base classes: MarkovNetwork with example: obj = MarkovModel(ebunch, latents)