

@classmethod
def CreateWithPrior(cls, inferType, priorArgDict, Data):
    if (inferType == 'EM'):
        raise NotImplementedError('TODO')
    else:
        obsPrior = BetaDistr.InitFromData(priorArgDict, Data)
    return Data(inferType, obsPrior)

dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/obsmodel/BernRelObsModel.py BernRelObsModel.CreateWithPrior/VarMisuse@52/76 `cls`->`Data`