@classmethod
  def read_from_mat(cls, matfilepath, **kwargs):
    import scipy.io
    InDict = scipy.io.loadmat(matfilepath, **kwargs)
    return cls(**InDict)

  ######################################################### Create from DB
  #########################################################  (class method)
returns the favorites from the specified file 
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/data/GraphData.py/GraphData.read_from_mat--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/maya/app/general/tlfavorites.py/readFavorites