Skip to content
Snippets Groups Projects
Commit eadf5fad authored by Colm Talbot's avatar Colm Talbot
Browse files

use PriorSet rescaling function

parent 226b6b64
No related branches found
No related tags found
1 merge request!59Updating priors
......@@ -187,7 +187,7 @@ class Sampler(object):
self.use_ratio = True
def prior_transform(self, theta):
return [self.priors[key].rescale(t) for key, t in zip(self.__search_parameter_keys, theta)]
return self.priors.rescale(self.__search_parameter_keys, theta)
def log_prior(self, theta):
return np.sum(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment