I cannot think of a good solution, maybe as food for thought you can try to embed the integer sequence into a 2D image (each sequence will become a 14 * sequence length image), and run an unsupervised recursive neural net? You can use Lasagne to build the neural net and use gelato to set probabilistic weights as Bayesian inference.