Jayes - Bayesian Networks for Java

Power your expert systems with Jayes
Jayes Logo

Bayesian Network Library under Eclipse Public License

Code Recommenders uses Jayes to power its call completion and adaptive template completion. What will you use it for?

Jayes is a pure Java, open source Bayesian Network library. It was developed to meet the needs of the Code Recommenders Project. That includes:

  • ease of use – streamlined API makes it easy to get started
  • high performance – Code Recommenders makes predictions with Jayes within a handful of milliseconds
  • permissive license – the EPL license means that whether open or closed source, Jayes can be your friend

Get started now by reading our blog post on Jayes! Want to help us improve Jayes? Contact us on the mailing list, then!

Introduction Contact Us

How to install Jayes

Jayes can be integrated into your build using Maven. The Maven repository https://repo.eclipse.org/content/repositories/recommenders/ contains the following, Jayes-related artifacts:

  • org.eclipse.recommenders:org.eclipse.recommenders.jayes
  • org.eclipse.recommenders:org.eclipse.recommenders.jayes.io
  • org.eclipse.recommenders:org.eclipse.recommenders.jayes.transformation

Dependencies

org.eclipse.recommenders.jayes has no external dependencies. For org.eclipse.recommenders.jayes.io and org.eclipse.recommenders.jayes.transformation, you need to manually manage the transitive dependencies if you do not use Tycho in your build. Here is an XML snippet you can include in your POM file to get Jayes working in your build.

							
<properties>
    <!-- TODO: set version -->
    <jayes.version>x.y.z-SNAPSHOT</jayes.version>
</properties>
<repositories>
    <repository>
        <id>recommenders</id>
        <url>https://repo.eclipse.org/content/repositories/recommenders/</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>org.eclipse.recommenders</groupId>
        <artifactId>org.eclipse.recommenders.jayes</artifactId>
        <version>${jayes.version}</version>
    </dependency>
    <dependency>
        <groupId>org.eclipse.recommenders</groupId>
        <artifactId>org.eclipse.recommenders.jayes.io</artifactId>
        <version>${jayes.version}</version>
    </dependency>
    <dependency>
        <groupId>org.eclipse.recommenders</groupId>
        <artifactId>org.eclipse.recommenders.jayes.transformation</artifactId>
        <version>${jayes.version}</version>
    </dependency>
    <dependency>
        <groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
        <version>15.0</version>
    </dependency>
    <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>2.0.1</version>
    </dependency>
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-lang3</artifactId>
        <version>3.1</version>
    </dependency>
    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-math</artifactId>
        <version>2.1</version>
    </dependency>
</dependencies>