Spaces:
Runtime error
Runtime error
Update train.py
Browse files
train.py
CHANGED
@@ -58,11 +58,11 @@ LATENT_DIM = 64
|
|
58 |
NUM_LAYERS = 3
|
59 |
LEARNING_RATE = 0.001
|
60 |
BATCH_SIZE = 64
|
61 |
-
NUM_EPOCHS =
|
62 |
MIN_RATING = 3.0
|
63 |
REG_LAMBDA = 1e-4
|
64 |
# Evaluation parameters
|
65 |
-
TOP_K = [5, 10, 20] # Top-K for precision and recall calculation
|
66 |
EVALUATION_THRESHOLD = 3.5 # Rating threshold for binary relevance
|
67 |
|
68 |
|
|
|
58 |
NUM_LAYERS = 3
|
59 |
LEARNING_RATE = 0.001
|
60 |
BATCH_SIZE = 64
|
61 |
+
NUM_EPOCHS = 100
|
62 |
MIN_RATING = 3.0
|
63 |
REG_LAMBDA = 1e-4
|
64 |
# Evaluation parameters
|
65 |
+
TOP_K = [5, 10, 20, 30] # Top-K for precision and recall calculation
|
66 |
EVALUATION_THRESHOLD = 3.5 # Rating threshold for binary relevance
|
67 |
|
68 |
|