Conversation
|
Just notest that this is still around. @janowicz what do you think? |
|
Thanks for the reminder @Eh2406. Prior to the new RuntimeError that this PR introduces, would the existing RuntimeError ("'Maximum number of iterations reached during IPF") already be encountered in situations that this PR is trying to catch? In the ipf.py in this PR, is it strictly true that IPF will not converge if |
|
Thanks for the thoughtful response. I will try and explain so we can improve on my pr. :-) So this pr is testing for the situation where marginal sum to different values. This easily can occur with rounding. In our uses this led to approximately half the bg being off by one in the number of households. When this form of bad input is given to ipf there is no "correct" output. So for example in the new test:
No, the value of
It will not converge by my definition if Does this make sense? how can I improve this pr? |
No description provided.