윤영빈

add simple comment

...@@ -25,6 +25,8 @@ if __name__ == '__main__': ...@@ -25,6 +25,8 @@ if __name__ == '__main__':
25 video_id = row[0] 25 video_id = row[0]
26 video_vector = np.zeros(100) 26 video_vector = np.zeros(100)
27 for segment_index in range(1, 6): 27 for segment_index in range(1, 6):
28 + #get tag and weight from here
29 + #use weight as input of non-linear function before this step
28 tag, weight = row[segment_index].split(":") 30 tag, weight = row[segment_index].split(":")
29 if tag in tag_vectors.vocab: 31 if tag in tag_vectors.vocab:
30 video_vector = video_vector + (tag_vectors[tag] * float(weight)) 32 video_vector = video_vector + (tag_vectors[tag] * float(weight))
......