A Simple Machine Learning Example in Java

This is a “Hello World” example of machine learning in Java. It simply give you a taste of machine learning in Java. Environment Java 1.6+ and Eclipse Step 1: Download Weka library Download page: http://www.cs.waikato.ac.nz/ml/weka/snapshots/weka_snapshots.html Download stable.XX.zip, unzip the file, add weka.jar to your library path of Java project in Eclipse. Step 2: Prepare Data … Read more