Skip to content

Commit

Permalink
fix win hash function for word2vec
Browse files Browse the repository at this point in the history
  • Loading branch information
U-US\gtesei authored and U-US\gtesei committed Mar 18, 2016
1 parent c7fa373 commit ebe36d2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
from KaggleWord2VecUtility import KaggleWord2VecUtility
import math

def hash32(value):
return hash(value) & 0xffffffff

# Define a function to create bags of centroids
#
Expand Down

0 comments on commit ebe36d2

Please sign in to comment.