I encountered an issue while fitting a LogisticRegressionHMM using the EM algorithm. Specifically, when I impose constraints—such as limiting the weights to be positive—the fitting process results in NaN values. Below, I have included a simple code snippet that reproduces the error.
Since I am relatively new to this package, I would greatly appreciate any guidance or suggestions you could offer.
Dear Developers,
I encountered an issue while fitting a LogisticRegressionHMM using the EM algorithm. Specifically, when I impose constraints—such as limiting the weights to be positive—the fitting process results in NaN values. Below, I have included a simple code snippet that reproduces the error.
Since I am relatively new to this package, I would greatly appreciate any guidance or suggestions you could offer.
Have a nice weekend, Gergő