eonu / sequentia

Scikit-Learn compatible HMM and DTW based sequence machine learning algorithms in Python.
https://pypi.org/project/sequentia/
MIT License
61 stars 8 forks source link

Add `HMMClassifier` tests for pre-fitted and unfitted HMMs #245

Closed eonu closed 5 months ago

eonu commented 5 months ago

Does this suggestion already exist?

Feature description

HMMClassifier tests have quite poor coverage in general.

The tests need to be expanded to test the behaviour of the fit() function when no arguments are provided.

eonu commented 5 months ago

Actually this is already covered with the below parameterization:

https://github.com/eonu/sequentia/blob/b1aeb609996b5148ddd0913abc610976bed7f464/tests/unit/test_models/hmm/test_classifier.py#L116