You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first glance, the IM-model seems to be setup correctly. So something odd must be happening.
One thing I want to note immediately is that the matrix that is returned by evaluate does not contain the marginal probabilities: see . This means that all values in the resulting matrix have already been modified by whatever 'bad' values were added to the matrix during the graph traversal. So simply setting those to zero doesn't give much information. I will have to check the output before adjust_marginals step.
This is a scatter plot comparing all the values for each of the 8512 taylor series coefficients (112 values for each of the 72 nodes in the graph), for the parameters that produce the error (y-axis) compared against a rounded version of this parameter set (to a single decimal, x-axis). This clearly shows that there are some tiny values in the rounded of set that turn out to be huge in the case that produces the error. This clearly means there must be an additional source of floating point precision errors than those I have already addressed.
Thanks again for reporting this Dom. Will get to the bottom of this.
Thanks for looking into this. Just to keep you updated: I have made a new gimble release where I put some code into that deals with anomalies:
makegrid complains when it sees one (have not had one yet, though)
optimize deals with it by warning the user and giving nlopt -inf's if an anomaly is detected. And this seems to work well enough for the heliconius data. It converges without problem...
Hey,
sorry to bother you. Either I am not setting up the IM model correctly or there still are issues with parameter combinations which are:
me
=0For certain parameter combinations,
IM_AB
yield strange evaluations ...One gets the same result if one evaluates
IM_BA_evaluator
and switchesNe_A
andNe_B
values:Part of this (but not all) is due to non-zero probabilities for FGVs in the resulting array...
But if one sets those to zero weird probabilities remain ...
Two other (less severe) problematic parameter combinations are:
If you need more, I can supply more ...
cheers,
dom
The text was updated successfully, but these errors were encountered: