-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
In explore_context2vec.py, when got context_v and target_v, why use w again?
You use the w to get the context_v, didn't you?
def mult_sim(w, target_v, context_v):
target_similarity = w.dot(target_v)
target_similarity[target_similarity<0] = 0.0
context_similarity = w.dot(context_v)
context_similarity[context_similarity<0] = 0.0
return (target_similarity * context_similarity)
Metadata
Metadata
Assignees
Labels
No labels