Creating a neural network for predicting next vote in a series of votes
Recurrent neural network may fit your needs.

Read about LSTM &amp; GRU , which has been implemented into various NN libraires.

Here is the link to the keras documentayion of RNN :

https://keras.io/layers/recurrent/

Some interesting music project that takes advantage of RNN :

https://github.com/tensorflow/magenta

https://github.com/jisungk/deepjazz