This commit is contained in:
Michael T Smith 2017-06-30 08:57:02 +01:00
parent 460e74c291
commit 574c0aec28

View file

@ -93,6 +93,8 @@ class Model(ParamzModel, Priorizable):
n_p = number of points on sphere. n_p = number of points on sphere.
f_0 > 1 is any constant (from http://www.statslab.cam.ac.uk/~rjs57/RSS/0708/Rue08.pdf, p31)
"CCD integration speeds up the computations considerably compared to the "CCD integration speeds up the computations considerably compared to the
grid search or Monte Carlo integration since the number of the design grid search or Monte Carlo integration since the number of the design
@ -243,6 +245,10 @@ class Model(ParamzModel, Priorizable):
param_points = param_points[non_small_densities, :] param_points = param_points[non_small_densities, :]
point_densities /= point_densities.sum() point_densities /= point_densities.sum()
#Mike's temporary attempt to calculate point_densities
#TODO
transformed_points = param_points.copy() transformed_points = param_points.copy()
#alan's original code to transform those parameters, to the true space of parameters again #alan's original code to transform those parameters, to the true space of parameters again
#mike's change: some parameters have no transform, and thus won't be called by any of the #mike's change: some parameters have no transform, and thus won't be called by any of the