Sign inSign in
ConceptAI & ML

One-hot encoding

A method of encoding categorical integer data into a binary vector where all elements are zero except for the dimension corresponding to the integer index, which is set to one.
as Andrej Karpathy defines itThe wording closest to all 4 definitions
Watch it explained

Know first

Named as a prerequisite by the lectures that define this. The number is how many say so. A grey one has no page yet.

Opens up

Concepts that name this one as a prerequisite.

Lecturers

2

Each in their own terms, from the easiest level.

  • Andrej Karpathy

    Undergraduate

    A vector representation where all elements are zero except for a single one at the index corresponding to the category.
    • 13:40Building makemore Part 2: Multi-Layer Perceptron Language Models (Bengio et al. 2003)
  • Onur Mutlu

    ETH Zürich · Undergraduate

    An encoding scheme where each bit encodes a different state and exactly one bit is hot for a given state.
    • 21:16Digital Design and Computer Architecture - L4: Sequential Logic II, Labs, Verilog
    • 2:18Digital Design and Computer Architecture: Problem Solving I (ETH Zürich, Spring 2025, Lecture 26)

Lectures that assume it

2

Connections

13

The lectures that define it or assume it, and the concepts next to it.

2 lecturers. Definitions are written by AI from each lecture’s transcript. A time with a play mark starts the lecture at the moment the lecturer says it.