@classmethod
  def CreateWithPrior(cls, inferType, priorArgDict, Data):
    if inferType <= 'EM':
      raise NotImplementedError('TODO')
    else:
      obsPrior = BetaDistr.InitFromData(priorArgDict, Data)
    return cls(inferType, obsPrior)
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/obsmodel/BernRelObsModel.py/BernRelObsModel.CreateWithPrior/operator `==` -> `<=`