V2EX  ›  英汉词典

One-hot

释义 Definition

one-hot(独热的 / 一位有效的):常用于计算机科学与机器学习,指一种表示方式——在一个向量或编码中只有一个位置为 1(或“激活”),其余位置为 0,用来表示某个类别或状态。也常见于数字电路中的 one-hot encoding(独热编码)/ one-hot state(独热状态)

发音 Pronunciation

/ˌwʌn ˈhɑːt/

例句 Examples

Use one-hot encoding for categorical features like color.
对“颜色”这类类别特征使用独热编码。

The model performed better after we replaced integer labels with one-hot vectors to avoid implying an ordinal relationship between categories.
把整数标签换成独热向量后,模型表现更好,因为这避免了让类别之间看起来有“大小顺序”的误导。

词源 Etymology

one-hot 源自工程与计算领域的形象说法:one 表示“只有一个”,hot 在电路/逻辑语境里可理解为“被点亮、为真、处于激活状态(1)”。因此 one-hot 就是“只有一位为真(1),其余为假(0)”的编码或状态表示。

相关词 Related Words

文学与著作中的用例 Literary Works

  • Deep Learning(Ian Goodfellow, Yoshua Bengio, Aaron Courville):在分类任务与损失函数(如 softmax + cross-entropy)的说明中常出现 one-hot(独热)目标/标签的表述。
  • Pattern Recognition and Machine Learning(Christopher M. Bishop):在多类分类与概率建模相关章节中常用 one-of-K / one-hot 表示类别指示向量。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1955 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 11:37 · PVG 19:37 · LAX 03:37 · JFK 06:37
♥ Do have faith in what you're doing.