We are now ready to discuss speech recognition. We will use HMMs to perform speech recognition; HMMs are great at modeling time series data. As an audio signal is a time series signal, HMMs perfectly suit our needs. An HMM is a model that represents probability distributions over sequences of observations. We assume that the outputs are generated by hidden states. So, our goal is to find these hidden states so that we can model the signal.
Building HMMs
Getting ready
In this recipe, we will see how to build an HMM using the hmmlearn package. Before you proceed, you will need to install the hmmlearn package. Let's take a look at how to build HMMs.