We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4caa9be + dcec484 commit 27ea565Copy full SHA for 27ea565
recbole/model/general_recommender/lightgcn.py
@@ -169,7 +169,7 @@ def calculate_loss(self, interaction):
169
neg_scores = torch.mul(u_embeddings, neg_embeddings).sum(dim=1)
170
mf_loss = self.mf_loss(pos_scores, neg_scores)
171
172
- # calculate BPR Loss
+ # calculate regularization Loss
173
u_ego_embeddings = self.user_embedding(user)
174
pos_ego_embeddings = self.item_embedding(pos_item)
175
neg_ego_embeddings = self.item_embedding(neg_item)
0 commit comments