Skip to content

Commit

Permalink
Feat: Added getVectorBeck
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianCB-dev committed Oct 9, 2022
1 parent 694b666 commit db50e0c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion BECK/model_word2vec_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def getVectorBeck(self, commentVector, beck):
for idx, result in enumerate(beck[item].keys()):
if idx == 0:
itemBeck = beck[item][result]
print(itemBeck)
if( self.get_cosine_distance(commentVector, itemBeck["data"]) <
self.get_cosine_distance(commentVector, beck[item][result]["data"])):
itemBeck = beck[item][result]
Expand Down

0 comments on commit db50e0c

Please sign in to comment.