Deal all,

I am looking for an appropriate algorithm which can allow me to learn how some numeric values are mapped into an array.

Try to imagine that I have a training data set like this:

```
1 1 2 4 5 --> [0 1 5 7 8 7 1 2 3 7]
2 3 2 4 1 --> [9 9 5 6 6 6 2 4 3 5]
...
1 2 1 8 9 --> [1 4 5 8 7 4 1 2 3 4]

```

So that given a new set of numeric values, I would like to predict this new array

```
5 8 7 4 2 --> [? ? ? ? ? ? ? ? ? ?]

```

Thank you very much in advance.

Best regards!

---

Some considerations:

* Let us suppose that all numbers are integer and the length of the arrays is fixed
* Quality of each predicted array can be determine by means of a distance function which try to measure the likeness between the ideal and the predicted array.