FarahMohsenSamy1 commited on
Commit
9b9e457
·
verified ·
1 Parent(s): 20630ca

Update train.py

Browse files
Files changed (1) hide show
  1. train.py +2 -2
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 = 50
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