First, let's talk about how to configure WEKA in eclipse! Configure the Java environment, set the path, and install eclipse.
In jdk1.6 and eclipse3.2. Thanks to bbs.wekacn.org.
After installing WEKA, there is a weka-src.jar package in the installation directory, which is the source code, decompress with jar-vxf weak-src.jar, or use WinZip, WinRAR can also be unlocked.
Open eclipse, create a new Java project, and click Next
Enter WEKA in the project file name, configure JRE (if necessary), and click Finish.
Select the WEKA project you just created, right-click it, and create a new "source folder" folder SRC to save
Put the source code.
Then, drag the directory where the compressed source file is located, that is, the WEKA directory, to the src directory in the resource manager.
,.
After dragging, eclipse starts to copy the source code to the working directory. Wait for a while,
There are a lot of warning, don't worry about it. If you want to run WEKA in eclipse, open the WEKA. Gui package and find
To guichooser, this file contains main.
Right-click and select Run as Java application. Easy!