Skip to content

MLE ValueError #10

@dizuml

Description

@dizuml

Hi,
i love using this library but everytime i try to use the (discrete) maximum_likelihood_estimation i end up with this Error:

dhmm1.maximum_likelihood_estimation(S1, K1)
File "hmms\dthmm.pyx", line 353, in hmms.dthmm.DtHMM.maximum_likelihood_estimation
File "hmms\dthmm.pyx", line 379, in hmms.dthmm.DtHMM.maximum_likelihood_estimation
ValueError: Buffer dtype mismatch, expected 'int_t' but got 'long long'

even your example Code does not work for me.
Changing the dtype of the input Arrays to int32 didn't help.
I use Pycharm on Windows, maybe it's a Kernel thing.

Do you have any idea?
thx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions