Statistics.MiniNest
- data NestedSamplingResult a
- class SamplingObject a where
- nestedSampling :: (Ord a, SamplingObject a) => [a] -> (a -> Double -> IO a) -> Int -> IO (NestedSamplingResult a)
Documentation
data NestedSamplingResult a Source
Instances
class SamplingObject a whereSource
nestedSampling :: (Ord a, SamplingObject a) => [a] -> (a -> Double -> IO a) -> Int -> IO (NestedSamplingResult a)Source
nestedSampling computes the evidence Z and samples from the posterior. Args: priorSamples: a list of samples from the prior. explore: a function that evolves an object within a likelihood constraint. iterations: number of iterations to run.