eonu / sequentia

Scikit-Learn compatible HMM and DTW based sequence machine learning algorithms in Python.

Home Page:https://pypi.org/project/sequentia/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

eonu opened this issue · comments

Does this suggestion already exist?

  • This is a new feature!

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.

Actually this is already covered with the below parameterization:

@pytest.mark.parametrize("prefit", [True, False])