Actions

A One Hot Vector

From Algolit

Revision as of 09:13, 6 October 2017 by Manetta (talk | contribs) (Created page with "=one-hot vectors= [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0] with one 0 for each word in a vocabulary where the 1 is representing the place of a word in the vector > In this kin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

one-hot vectors

[0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0]

with one 0 for each word in a vocabulary where the 1 is representing the place of a word in the vector > In this kind of vector representation: none of the words are similar, they are all a 1.

Note that

Words are represented once in a vector. So words with multiple meanings, like "bank", are more difficult to represent. there is research to multivectors for one word, so that it does not end up in the middle (but you get already far by using 1 dense vector/word)