nilsbecker / mcmc-ocaml Goto Github PK
View Code? Open in Web Editor NEWThis project forked from farr/mcmc-ocaml
OCaml Markov Chain Monte Carlo
License: GNU General Public License v3.0
This project forked from farr/mcmc-ocaml
OCaml Markov Chain Monte Carlo
License: GNU General Public License v3.0
SUMMARY This library implements a general MCMC sampler and associated libraries, including * The methods described in Farr and Mandel (2011) (http://arxiv.org/abs/1104.0984 ) for interpolating jump proposals in a reversible jump MCMC. * The evidence calculation methods from Weinberg's paper on Computing the Bayesian Factor from a Markov chain Monte Carlo Simulation of the Posterior Distribution (http://arxiv.org/abs/0911.1777 ). Also in the library is a simple nested-sampling implementation (see Skilling, J. Nested Sampling. AIP Conference Proceedings, vol. 735, pp. 395--405, 2004.). BUILDING * To build the library, use ocamlbuild: ocamlbuild mcmc.cma mcmc.cmxa * To build the code documentation: ocamlbuild mcmc.docdir/index.html * To build all of the above at once, use ocamlbuild all.otarget * To build the test suite, you will require oUnit (http://ounit.forge.ocamlcore.org/ ). Edit the myocamlbuild.ml file to point to your oUnit installation, and then issue ocamlbuild run_tests.{native,byte} If you encounter compilation errors, then you may have to modify the definition of the cmp_float function to: (* Compare floats up to a given relative error *) let cmp_float ?(epsabs = eps) ?(epsrel = eps) a b = let dx = abs_float (a -. b) and avg = 0.5*.((abs_float a) +. (abs_float b)) in dx <= epsabs +. epsrel*.avg * Various useful example programs can be found in the bin/ subdirectory; you can build them with ocamlbuild <program_name>.{native,byte} * To clean the code, issue the command ocamlbuild -clean LICENSE This library is released under the GPL version 3; see the LICENSE file for more information.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.