One-Hot Encoding
Version 1.0.0 · Updated 2026-07-28
CORE DEFINITION
One-hot is used in digital circuits and machine learning to represent a special bit group or vector, where only one bit is allowed to be 1 and all others must be 0. It is called one-hot because there can only be one 1; if the opposite is true, with only one 0 and the rest 1, it is called one-cold. In statistics, dummy variables represent a similar concept.
SCAFFOLDING EFFECT
Reduce cognitive load
One-hot is used in digital circuits and machine learning to represent a special bit group or vector, where only one bit is allowed to be 1 and all others must be 0. It is called one-hot because there can only be one 1; if the opposite is true, with only one 0 and the rest 1, it is called one-cold. In statistics, dummy variables represent a similar concept.
Anchor fast decisions
Convert categorical variables into 0/1 vectors: each category occupies one dimension, with only that dimension being 1 and the rest 0. The mechanism is a discretized representation.
MINIMUM ACTION
In progress 0/3Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E7%8B%AC%E7%83%ADverified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS