def createModel(Data, ReqArgs, KwArgs):
  algName = ReqArgs['algName']
  aName = ReqArgs['allocModelName']
  oName = ReqArgs['obsModelName']
  aPriorDict = KwArgs[aName]
  oPriorDict = KwArgs[oName]
  hmodel = bnpy.HModel.CreateEntireModel(algName, aName, oName, aPriorDict, oPriorDict, Data)
  return hmodel  


########################################################### Create LearnAlg
###########################################################
Creates a bnpy HModel object for the given Data
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/ContinueRun.py/createModel