NLP -Word2Vector

1. 什麼是word2vector? 我們先來看一個問題,假如有一個句子 " the dog bark at the mailman"。 假如用向量來表示每個單詞,我們最先想到的是用one hot 編碼的方式來表達每個單詞,具體來說。 the 可以表示爲 [1,0,0,0,0] dog 可以表示爲 [0,1,0,0,0] bark 可以表示爲 [0,0,1,0,0] at 可以表示爲[0,0,0,
相關文章
相關標籤/搜索