Can you please tell me how to build an autoencoder with a single matrix(4,4) with integer numbers? I want to build an autoencoder for the below-mentioned data. I don't know whether I should convert the decimal numbers to binary first using one-hot encoding or a neural network will recognize integer numbers. e.g,
input data = array([[ 4, 3, 8, 6],
[ 1, 1, 2, 2],
[24, 18, 32, 24],
[ 6, 6, 8, 8]])
autoencoder(data)
output data= array([[ 4, 3, 8, 6],
[ 1, 1, 2, 2],
[24, 18, 32, 24]
[ 6, 6, 8, 8]])