Global optimization of a neural network-hidden Markov model hybrid | Synapse