def __init__(self, K=0, D=0, doCollapseK1=False):
    self.K = K
    self.D = D
    self._FieldDims = dict()
    self.doCollapseK1 = doCollapseK1
Create a ParamBag object with specified number of components.
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/suffstats/ParamBag.py/ParamBag.__init__