-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathscript_wiki.m
46 lines (36 loc) · 1.28 KB
/
script_wiki.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
% Deep Poisson Factor Analysis
% The Matlab Code for the ICML 2015 paper
% "Scalable Deep Poisson Factor Analysis for Topic Modeling"
% Code written by: Zhe Gan ([email protected]), Changyou Chen ([email protected]),
% Ricardo Henao ([email protected]), David Carlson ([email protected]),
% Duke University, ECE department.
% License
% Please note that this code should be used at your own risk.
% There is no implied guarantee that it will
% not do anything stupid. Permission is granted to use and modify the code.
% Citing DPFA
% Please cite our ICML paper in your publications if it helps your research:
%
% @inproceedings{Gan15dpfa,
% Author = {Z. Gan, C. Chen, R. Henao, D. Carlson, and L. Carin},
% Title = {Scalable Deep Poisson Factor Analysis for Topic Modeling},
% booktitle={ICML},
% Year = {2015}
% }
addpath(genpath('.'));
%% inference method 1: SGNHT
% (1) model: DPFA using SBN
wiki_dpfa_sbn_sgnht;
% (2) model: DPFA using RBM
wiki_dpfa_rbm_sgnht;
%% inference method 2: BCDF
wiki_lda_bcdf; % lda
wiki_pfa_bcdf; % pfa
wiki_pfa_sbn_bcdf; % pfa + sbn
wiki_pfa_dsbn_bcdf; % pfa + dsbn
wiki_pfa_dsbn_bcdf_v2; % pfa + dsbn
%% RSM: Replicated Softmax
wiki_rsm_sgd;
%% nHDP
% the code can be downloaded from John Paisley's homepage
wiki_nHDP;