-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
45 lines (28 loc) · 1.18 KB
/
README
File metadata and controls
45 lines (28 loc) · 1.18 KB
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
## How to build
make clean && make
## How to run
$./ccdp_gpu toy_example
(more examples below)
##Input format
The input should be in binary format (See toy_example directory
for details). An example to create binaries can be found in https://github.com/cuMF/cumf_als/blob/master/data/ml10M/prepare_ml10M_data.py
"meta_modified_all" has the name of the input files.
Details:
line 1 has #rows #cols
line 2 has nnz in training dataset
line 3 has nnz in test dataset
line 4 to 12 has file names
## Arguments
$ ./ccdp_gpu [options] [input file directoty containing meta_modified_all]
options:
-k rank/feature : set the rank (default 10)
-l lambda : set the regularization parameter lambda (default 0.05)
-a tile size: set tile size for input matrix R (default 499999999)
-b tile size: set tile size for input matrix R Transpose (default 499999999)
-t max_iter: number of iterations (default 5)
-T max_iter: number of inner iterations (default 1)
## Examples:
To run Netflix:
./ccdp_gpu -T 1 -a 100000 -b 100000 -l .058 -k 40 -t 10 ../Netflix
To run Yahoo Music:
$./ccdp_gpu -T 1 -a 100000 -b 100000 -l 1.2 -k 40 -t 10 ../Yahoo_music