Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 35 characters in body
Source Link
Oxbowerce
  • 8.2k
  • 2
  • 9
  • 26

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]])

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]])

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]])

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]])
Source Link

Build autoencoder for single matrix with integer numbers

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]])