No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Hi, thanks for your interests in our DPEM paper! Our paper was published at AISTATS 2017, which you can find

This code package consists of several folders

(1) data: which contains Gowalla / lifescience datasets, which are from UCI data repository

(2) pmkt3: contains code copied from, which I made some modifications for adding noise to moments

(3) matfiles: once you run my code, the results will be saved here.

I wrote code for test lifescience data and Gowalla data in Matlab, while my code for DP factor analysis is written in Python.

So, if you want to run "testLifesci.m" or "testGowalla.m", open Matlab. The first thing you want to do is, "startup.m", which generates paths for running necessary sub-functions. Then run "testLifesci.m" or "testGowalla.m".

If you want to run "", open Python, then run "".

I haven't added my code for testing stroke data, because this dataset isn't publically available. Please contact IMEDS ( if you want to get access their data.

If you have any questions on my implementation, find any bugs, errors, ways to improve, please contact me @

Have a wonderful day!

May 19, 2017 @ Amsterdam, Netherlands.