I am a beginner at Reinforcement Learning and Deep Learning and I want to built a neural network for a DQN agent (in Keras) that receives a vector as input of length equal to 3 and outputs another vector of length equal to 10.
The input vector has one element that is equal to 1 and the other elements are equal to 0. It can also be all zeros, but it cannot have more than one element with the value 1.
Example:
[0, 1, 0]
Or:
[0, 0, 0]
The output must be a vector with 10 elements, one of the elements is equal to 1 and all the other elements have a value equal to 0. And just like the input vector, it can also be all zeros, but it cannot have more than one element with the value 1.
Example:
[0, 0, 1, 0, 0, 0, 0, 0, 0, 0]
Or:
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
If the input vector has a '1' in it, then the output vector must have at most one column with the value of 1.
If the input vector is all zeros, then the output vector must have all the values set to 0s.
I have tried to create a convolutional neural network, but the examples I've come across treat images (hence 2D matrices) as inputs and have one value as output and not a vector.