I am using the MultinomialHMM class of seqlearn and the code crashes with error
ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'int'
at the function count_trans() inside the fit() function. I am trying to change the data type of the y array from int to numpy.npy_intp but this type does not exist in numpy (np).
I am using the MultinomialHMM class of seqlearn and the code crashes with error
ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'int'
at the function count_trans() inside the fit() function. I am trying to change the data type of the y array from int to numpy.npy_intp but this type does not exist in numpy (np).
How can I fix this?