Jayes - Bayesian Network Library for Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Development of Jayes currently happens at Eclipse as part of the Code Recommenders Project. The git repository can be found here.

What is Jayes?

Jayes is a Bayesian Network Library for Java. It has initially been created as my bachelor's thesis and it's goal is to provide highly efficient Bayesian Networks algorithms to the open souce community. In fact, there are already good Bayesian Networks libraries available, but they are either closed-source, GPL-licensed or rather inefficient. For certain projects, these aspects hinder the usage of such libraries. This is why Jayes was created.

Who uses Jayes?

Jayes was first created to serve as a component of the Code Recommenders Project at Eclipse. There it is used to predict method calls invoked by the developer. I would love to know when other people use it and how :-)


  • exact inference of marginals in Bayesian Networks
  • support of XMLBIF 0.3
  • partial support of XDSL format used by GeNIe


Since 1.0.2, Jayes depends on the Code Recommenders Project at Eclipse. The main project only uses the common build infrastructure, and could also be built without this dependency. To this end, just delete the reference to the parent POM. If you don't want to specify a dependency on the tycho maven plugin, just change the packaging to "jar" (no dependencies yet for the main project). Some subprojects may also depend on bundles from Code Recommenders.

Do the following to get it to build:

Clone http://git.eclipse.org/gitroot/recommenders/org.eclipse.recommenders.git Perform a mvn install. Go ahead and build Jayes!


Jayes is licensed under the Eclipse Public License 1.0