直觉解释
- A one-hot is a group of bits among which the legal combinations of values are only those with a single high(1) bit and all the others low(0).
In the context of natural language processing
- A one-hot vector is a 1×N1\times N1×N matrix (vector) used to distinguish each word in a vocabulary from every other word in the vocabulary. The vector consists of 0s in all cells with the exception of a single 1 in a cell used uniquely to identify the word. One-hot encoding ensures that machine learning does not assume that higher numbers are more important.
One-Hot编码是一种在自然语言处理中用于区分词汇的技术,它创建了一个1×N矩阵,其中每个词由一个独特的1表示,其余位置为0。这种方法确保了机器学习模型不会错误地认为数字大小有特定的重要性。
140

被折叠的 条评论
为什么被折叠?



