Hidden markov model (HMM) is an approach using a set of states is which has a relationship with one another that describes an event in the real world, with a layer of observation as it can be observed, and the hidden layer as a layer that can only be observed through layer observation.