Giter Club home page Giter Club logo

belief-propagation-java's Introduction

Belief Propagation

Belief propagation is a message-passing algorithm used in graphical models, such as Bayesian networks and Markov random fields, to perform probabilistic inference. It is based on the idea of iteratively updating beliefs or probabilities associated with each node in the graph based on information received from neighboring nodes. Belief propagation is commonly used for tasks like estimating marginal probabilities, making predictions, and solving constraint satisfaction problems in various fields, including machine learning, computer vision, and artificial intelligence. It is particularly useful for handling complex, interrelated probabilistic relationships in graphical models.

This project implement Belief Propagation and Loopy Belief Propagation in java. This project relies on JGraphT for graph building and message passing respectively. This project also make reference to the git repo as well.

How to use

Please go to this wiki page for how to use it.

Export As Jar

This is a maven project. .jar file can be generated by standard maven operation.

  1. Go to the root directory:

    cd Belief-Propagation-Java
  2. Run the following command:

    mvn package
  3. You can find belief-propagation-java.jar and belief-propagation-java-jar-with-dependencies.java in Belief-Propagation-Java\target

    belief-propagation-java.jar: Library without any other dependency

    belief-propagation-java-jar-with-dependencies.java: Library with dependency such as JGraphT.

belief-propagation-java's People

Contributors

ykwongaq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.