Questions tagged [one-hot-encoding]
8 questions
2
votes
1 answer
How to embed game grid state with walls as an input to neural network
I've read most of the posts on here regarding this subject, however most of them deal with gameboards where there are two different categories of single pieces on a board without walls etc.
My game board has walls, and multiple instances of food.…

Arlo Rostirolla
- 31
- 1
1
vote
2 answers
Backpropagation with CrossEntropy and Softmax, HOW?
Let Zs be the input of the output layer (for example, Z1 is the input of the first neuron in the output layer), Os be the output of the output layer (which are actually the results of applying the softmax activation function to Zs, for example, O1 =…

qazaq
- 11
- 2
1
vote
0 answers
Is label-embedding similar to one-hot encoding?
In one-hot encoding, a vector is given to each class label. For each class, only one entry of the vector is equal to 1 and the remaining entries are zeros in this encoding.
Thus, in one-hot encoding, we are encoding the class label.
Is it true that…

hanugm
- 3,571
- 3
- 18
- 50
1
vote
1 answer
Is categorical encoding a type of word embedding?
Word embedding refers to the techniques in which a word is represented by a vector. There are also integer encoding and one-hot encoding, which I will collectively call categorical encoding.
I can see no fundamental difference between the…

hanugm
- 3,571
- 3
- 18
- 50
0
votes
0 answers
Training a neural network to produce a one-hot encoding vector out of a single feature
I would like to build a neural network that takes a natural number and generates a one-hot encoding vector corresponding to that number.
Example: $2 \rightarrow (0,0,1,0,\dots)$
More formally, I want it to take an input $i \in [0, \dots, K]$ and…

Aldan Creo
- 101
- 3
0
votes
0 answers
predict a one-hot vector which sum is 2 (so not really a one-hot vector)
So I basically have a $n$ classes. I have an input. My data is organised in the following way: each input has a label, this label is 2 classes. It can be twice the same class, or two different classes.
So I want to output a vector with only 0s, 1s…
0
votes
0 answers
What's a good regression algorithm for handling tabular data that have categorical data, "list of words"
Problem statement: I want to predict future prices of trips based on historical pricing data.
I'm looking for an algorithm that has the following features:
Unsupervised algorithm
Limit the amount of preprocessing required
The algorithm should be…

zzzz8888
- 1
0
votes
1 answer
Dummy variable trap in neural networks and class visualization
Let's say I have data records looking like that: (x1, x2, x3, x4, ..., x100), where each x can be either alpha, gamma or omega.
An example of record could be ('gamma', 'alpha', 'omega', 'alpha', ..., 'gamma') .
So the shape of my dataset is (N, 100)…

leleogere
- 101
- 3