Open ashandonay opened 1 week ago
Increasing the density of the params or features grid doesn't seem to resolve the problem.
I was testing this code with different sigmas. At sigma=0.8 the EIG becomes NaN at high design values due to the range of features being too far above the values of D_H_mean.
A more reasonable upper bound would probably be around 30. However, at smaller sigma values i.e. sigma=0.2, the EIGs all remain NaN seemingly regardless of the features range.
The normalization steps in calculateEIG lead to divide by zero errors:
The message appears when the sigma value in the likelihood is too small. In this example, it becomes an issue around values below ~1.0. Above this threshold, the full EIG array is calculated without any problems.