Questions tagged [one-hot-encoding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

When training a convolutional neural net, what if the channels in my image are mutually exclusive?

I'm attempting to train a convolutional neural net to perform binary classification of volumes of shape $(H, W, C)$ (i.e., height, width, channels). For the sake of this example, let's say that the ...
tomsasani's user avatar
1 vote
2 answers
57 views

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 ...
qazaq's user avatar
  • 11
0 votes
0 answers
49 views

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 ...
Aldan Creo's user avatar
0 votes
0 answers
24 views

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....
FluidMechanics Potential Flows's user avatar
0 votes
0 answers
18 views

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 ...
zzzz8888's user avatar
0 votes
1 answer
120 views

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 ...
leleogere's user avatar
  • 101
2 votes
1 answer
155 views

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 ...
Arlo Rostirolla's user avatar
1 vote
0 answers
32 views

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, ...
hanugm's user avatar
  • 3,581
1 vote
1 answer
197 views

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 ...
hanugm's user avatar
  • 3,581