Add brute-force samplers (for uniform priors) #1533
Replies: 10 comments
-
Michael wrote: "_Thinking about doing some brute-force parameter space exploration around points returned by optimisers. Need to do it in 2D/3D so I can visualise though. Would it be enough to plot parameter 1 & parameter 2, parameter 3 & parameter 4 etc. Or should I do plots for all possible combinations (like the triangular MCMC plots?) Jonathan wrote: "Depends what you want to use it for I guess. Doing all combinations will give you a better feel for what's going on, and just involves more plots, not more computation. @martinjrobins wrote: "@michael r u implementing this in pints? I'd like to do this as well, so it would be nice to have this as a general plot_likelihood_around_point() type function" |
Beta Was this translation helpful? Give feedback.
-
Thinking it could be good to have this in a box (i.e. boundaries / uniform prior) and then uniformly spaced. If we make it more complicated it stops being a check and becomes a bad version of mcmc or other samplers |
Beta Was this translation helpful? Give feedback.
-
Turns out I have this in Myokit (but have deprecated it because fitting isn't a core goal there)
Should we include something like this in Pints? |
Beta Was this translation helpful? Give feedback.
-
Maybe latin hypercube sampling too |
Beta Was this translation helpful? Give feedback.
-
And sobol sampling |
Beta Was this translation helpful? Give feedback.
-
Or perhaps we should implement these as methods inside the |
Beta Was this translation helpful? Give feedback.
-
Yeah, I like the idea!
Could we also use methods from SMC to help with this? As in, we reweight particles according to their functional value, then propagate them?
… On 9 Jul 2019, at 14:17, Michael Clerx ***@***.***> wrote:
Or perhaps we should implement these as methods inside the UniformPrior. Touches on what we discussed today a bit. Any thoughts @ben18785 @martinjrobins ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Beta Was this translation helpful? Give feedback.
-
I think so! But that sounds suspiciously like you're inventing a sampler :D |
Beta Was this translation helpful? Give feedback.
-
@MichaelClerx Do we still want this? I'm not sure about it since uniformly sampling a space is easy enough to do and doesn't work well in anywhere above a handful of dimensions. |
Beta Was this translation helpful? Give feedback.
-
I'm still thinking it could be very useful e.g. to explore and plot score functions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, explore each parameter individually (param x, score y) or plot any two parameters against each other (param 1 x, param 2 z, score y)
Use
evaluator
interface to paralleliseE.g.
Beta Was this translation helpful? Give feedback.
All reactions