Home » Java » Desktop Java » Some Java based AI Frameworks: Encog, JavaML, Weka

About Brian Du Preez

Some Java based AI Frameworks: Encog, JavaML, Weka

While working through I am working through Programming Collection Intelligence I found myself sending a lot of time translating the Python code to java, being typically impatient at my slow progress, I went searching for alternatives.

I found 3:

  1. Encog – Heaton Research
  2. JavaML
  3. Weka

This is by no means an in-depth investigation, I simply downloaded what the relevant projects had available and quickly compared what was available to me to learn and implement AI related samples / applications.



  1. You Tube video tutorials
  2. E-Books available for both Java and .Net
  3. C# implementation
  4. Closure wrapper
  5. Seems active


  1. Quite large code base to wrap your head around, this is probably due to the size of the domain we are looking at, but still much more intimidating to start off with vs. the Java ML library.



  1. Seems reasonably stable
  2. Well documented source code
  3. Well defined simple algorithm implementations


  1. Lacks the tutorial support for a AI newbie like myself



  1. E-Book Data Mining Practical Techniques


  1. Could not install Weka 3-7-9 dmg… kept on giving me a “is damaged and can’t be opened error, so left it there, as Sweet Brown says: “Ain’t nobody got time for that”.

So no surprise I went with Encog, and started on their video tutorials….

A couple hours later, first JUnit test understanding, training and testing a Hopfield neural network using the Encog libs.

Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!


1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

6. Spring Interview Questions

7. Android UI Design


and many more ....



One comment

  1. You could try Rapid Miner, it is an open source Java data mining application. I think similar to Weka.

Leave a Reply

Your email address will not be published. Required fields are marked *


Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns