-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathREADME
53 lines (37 loc) · 1.84 KB
/
README
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
47
48
49
50
51
52
53
########################################################
Research Code for Fitting Latent Factor Models
########################################################
Authors: Bee-Chung Chen, Deepak Agarwal and Liang Zhang
Yahoo! Labs
I. Introduction
This code base consists of algorithms for fitting factor models written in
R and C/C++. The entry point of any fitting algorithm is in R. The
computationally intensive parts are written in C/C++. The models and
algorithms have been described in the following papers.
[1] Bee-Chung Chen, Jian Guo, Belle Tseng, Jie Yang. User reputation in a
comment rating environment. KDD 2011.
[2] Deepak Agarwal, Bee-Chung Chen. Regression-based latent factor models.
KDD 2009.
[3] Deepak Agarwal, Bee-Chung Chen, Bo Long. Localized factor models for
multi-context recommendation. KDD 2011.
[4] Deepak Agarwal, Bee-Chung Chen. Latent OLAP: Data cubes over latent
variables. SIGMOD Conference 2011.
[5] Deepak Agarwal, Bee-Chung Chen. fLDA: Matrix factorization through
latent Dirichlet allocation. WSDM 2010.
II. Tutorial
See doc/tutorial.pdf for a tutorial on how to use this package to fit
the latent factor models described in [1,2].
III. Compilation
You need to have R installed before compiling the code.
To install R, see: http://www.r-project.org/
You have to install R from source on a linux machine.
It is recommended to use R version >= 2.10.1.
The following R packages also need to be installed.
Matrix
glmnet
To compile the C/C++ code, just type make.
IV. Examples
Localized factor model (multi-context, multi-application factorization) [2]:
src/multi-app/R/example/fitting.R
fLDA model (LDA topic modeling + Matrix factorization) [5]:
src/LDA-RLFM/R/model/examples.R