|
|
|
|
|
by fchollet
4167 days ago
|
|
Input: a 60-dimensional vector that is the concatenation of 10 6-dimensional binary vectors encoding the binary representation of the input numbers. Output: the same, sorted. At least that's one dead simple way to formulate the problem, multiple other solutions would work as well, and some would probably work better. |
|
Example sorting 987654 and 123456
You can then encode/decode the inputs and outputs accordingly. if (value <= 1) digit = 9; if (value <= 0.9) digit = 8; ... if (value <= 0.2) digit = 1; if (value <= 0.1) digit = 0; etc.I'm able to get 100% accuracy on a limited training set with 2 hidden layers of 10 nodes. 33% accuracy on the test set (but likely need a lot more data to train with).