Popularity
5.8
Growing
Activity
0.0
Stable
10
3
1

Monthly Downloads: 300
Programming language: Haskell
License: MIT License
Tags: Numeric    
Latest version: v1.0.1

mighty-metropolis alternatives and similar packages

Based on the "Numeric" category

Do you think we are missing an alternative of mighty-metropolis or a related project?

Add another 'Numeric' Package

README

mighty-metropolis

Build Status Hackage Version MIT License

The classic Metropolis algorithm. Wander around parameter space according to a simple spherical Gaussian distribution.

Exports a mcmc function that prints a trace to stdout, a chain function for collecting results in memory, and a metropolis transition operator that can be used more generally.

See the test directory for example usage.

import Numeric.MCMC.Metropolis

rosenbrock :: [Double] -> Double
rosenbrock [x0, x1] = negate (5  *(x1 - x0 ^ 2) ^ 2 + 0.05 * (1 - x0) ^ 2)

main :: IO ()
main = withSystemRandom . asGenIO $ mcmc 10000 1 [0, 0] rosenbrock

trace

mighty-metropolis is a member of the declarative suite of libraries, containing a bunch of MCMC algorithms that play nicely together.


*Note that all licence references and agreements mentioned in the mighty-metropolis README section above are relevant to that project's source code only.