Maximum entropy Markov model