Suppose I've got a categorical color variable that can take any of the three values
red, yellow, or blue.
- Describe conceptually how one hot encoding would be set up for that variable.
- Given your description, what would be the encoding of the vector[\text{red}, 1, \text{yel}]^{\mathsf{T}},where the middle value is the value of some separate numeric variable.