Installing the library

A step-by-step guide to install Java-ML.

  1. Download the latest version of the library from Sourceforge:
    http://downloads.sourceforge.net/java-ml/
  2. Unpack the downloaded file in a directory of your choice, preferable in the one you will be developing your machine learning applications.
  3. The library consists of a main jar-file (javaml-<version>.jar) and a number of support libraries that reside in the lib/ directory. For ease of use, you have to add all of them to your classpath, both the main Java-ML jar and the supporting libraries. If you are using an IDE like Eclipse or Netbeans, you have to add them to the build-path.
  4. Once you have include Java-ML and the supporting libraries in your classpath, you can start using the library