SLIM  1.0
Sparse Linear Methods (SLIM) for top-n recommender systems
 All Data Structures Files Functions Variables Typedefs Macros Pages
def.h
Go to the documentation of this file.
1 /**************************************************************/
2 /*! \file
3  \brief This file contains all the defined macros
4 */
5 /**************************************************************/
6 
7 
8 #ifndef __DEF_H__
9 #define __DEF_H__
10 
11 /*! train file */
12 #define CMD_TRAIN_FILE 1
13 /*! test file */
14 #define CMD_TEST_FILE 2
15 /*! model file */
16 #define CMD_MODEL_FILE 3
17 /*! debug level */
18 #define CMD_DBGLVL 4
19 /*! lambda */
20 #define CMD_LAMBDA 5
21 /*! beta */
22 #define CMD_BETA 6
23 /*! starti */
24 #define CMD_STARTI 7
25 /*! endi */
26 #define CMD_ENDI 8
27 /*! opttol */
28 #define CMD_OPTTOL 9
29 /*! max BCLS iterations */
30 #define CMD_MAX_BCLS_NITERS 10
31 /*! feature selection constrain file */
32 #define CMD_FS_FILE 11
33 /*! feature selection */
34 #define CMD_FS 12
35 /*! number of features */
36 #define CMD_K 13
37 /*! block size */
38 #define CMD_BSIZE 14
39 /*! help */
40 #define CMD_HELP 15
41 /*! nratings */
42 #define CMD_NRATINGS 16
43 /*! predition file */
44 #define CMD_PRED_FILE 17
45 /*! number of recommendations */
46 #define CMD_TOPN 18
47 /*! transpose matrix */
48 #define CMD_TRANSPOSE 19
49 
50 
51 /*! epsilon */
52 #define EPSILON (1e-5)
53 /*! epsilon2 */
54 #define EPSILON2 (1e-10)
55 
56 #endif