Closed orrenkt closed 3 years ago
Hi @slinderman and @jglaser2, @orrenkt and I were running into an issue when fitting multi-region models with inputs. The emission parameter F
that captures input dependence would be initialized to the wrong size. Here we propose a fix by passing the input size M
when initializing the emission models that make up the compound emission.
Can you take a look and see if this is the right solution?
That looks right to me (although I haven't run the updated code). I hadn't been running the multipop extensions with inputs, so thanks for updating that.
Code otherwise breaks when making an mp-SLDS with inputs with size > 1