The hmmlearn tutorial demonstrates how a Hidden Markov Model can be fitted to a dataset:
model = hmm.GaussianHMM(n_components=3, covariance_type="full", n_iter=100)
model.fit(X)
Is there a built-in way to do cross validation, Or do I have to do it by hand?