Learn Before
Concept
Dummy Variable
A dummy variable, or indicator variable, is created to numerically represent categorical data. When a categorical feature has multiple possible discrete values, it is converted into a series of separate binary columns. For a given record, the column corresponding to its correct category is assigned a value of , while all other dummy columns are set to .
0
1
Updated 2026-05-01
Tags
D2L
Dive into Deep Learning @ D2L