Skip to content

Commit e90e206

Browse files
Fix misleading comment regarding normalization of vectors
1 parent 6f40601 commit e90e206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval/python/evaluate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def main():
2626
continue
2727
W[vocab[word], :] = v
2828

29-
# normalize each word vector to unit variance
29+
# normalize each word vector to unit length
3030
W_norm = np.zeros(W.shape)
3131
d = (np.sum(W ** 2, 1) ** (0.5))
3232
W_norm = (W.T / d).T

0 commit comments

Comments
 (0)