How do I use a shared embedding for one hot encoded data in csv?

Viewed 82

I have multiple one hot encoded columns in a csv file (my one hot encoded columns)

I had to one hot encode them manually because they were comma separated values in each cell as shown here (the column that was one hot encoded). How do I create one embedding using tensorflow.keras.layers.Embedding for all the columns?

What should be the input shape for that embedding? It would be helpful if I could get some example code.

0 Answers
Related