WIN7 system Installation Data Mining work platform Weka

Source: Internet
Author: User
Tags windows x86

1. My environment

Operating system: 32-bit Win7 flagship Service Pack 1

2. Download Weka

Weka page address on OSC: Http://www.oschina.net/p/weka

Software Home Address: http://www.cs.waikato.ac.nz/ml/weka/

Each version of Weka runs the required Java version, which can be found on this page:

Http://www.cs.waikato.ac.nz/ml/weka/requirements.html

A table on this page is as follows:

Go to download page: http://www.cs.waikato.ac.nz/ml/weka/downloading.html

My computer is a 32-bit Win7 system and has not previously installed a Java virtual machine

So I downloaded a package that included JavaVM1.7 in the "Windows x86" category when downloading

After clicking the "here" link in bold, you will be downloaded to the corresponding page of SourceForge

The downloaded installation package file is named Weka-3-6-11jre.exe

3. Installing Weka

Double-click Weka-3-6-11jre.exe to go to the Setup wizard, then "Next >" to enter the next step

Next is the user agreement, GNU general public LICENSE Version 2

The information for this agreement can be found on this page:

Version2.0:http://www.gnu.org/licenses/gpl-2.0.html

To fully install Weka, tick all the checkboxes and check boxes to install the following:

Associate files:associates the. Arff and. Xrff Files with the Weka Explorer

Install jre:installs the Java Runtime environment (JRE)

Specify the directory address to install to

Specify a new directory name in the Start menu (default is Weka 3.6.11)

Enter the installation Read Bar interface

After installing the Read Bar interface, you will be entered the wizard to install Java

Click the Install (I) > button in the lower-right corner to start the installation

Directly into the Java installation Read Bar interface

When the installation is complete, click the Close button in the lower right corner to end the installation

Once the Java installation is complete, a webpage will pop up: http://java.com/zh_CN/download/installed.jsp

This page can be used to validate Java and look for obsolete versions, without the need to shut it down.

This time the Java section is installed, then go back to the Weka Installation Wizard, click "Finish" to end the installation

The installed Weka looks like this when it's open.

4. Allow Weka to recognize kanji

Locate the installation address for Weka (the above step is installed in "D:\Weka-3-6") and locate the file Runweka.ini

Open this file, the "fileencoding=cp1252" with the # comment out, enter "Fileencoding=utf-8" in the following can be

Now create a new file based on the file Weather.nominal.arff in the data directory under the installation directory Weather.nominal.chs.arff

Change the "yes" inside to "yes" and "no" to "no":

@relation weather.symbolic@attribute Outlook {Sunny, overcast, rainy} @attribute temperature {Hot, mild, cool} @attribute Humidity {high, normal} @attribute windy {TRUE, FALSE} @attribute play {yes, no} @datasunny, Hot,high,false, no sunny,hot,high,t RUE, no Overcast,hot,high,false, is Rainy,mild,high,false, is Rainy,cool,normal,false, is rainy,cool,normal,true, no overcast , Cool,normal,true, is Sunny,mild,high,false, no sunny,cool,normal,false, is Rainy,mild,normal,false, is Sunny,mild,normal, TRUE, is Overcast,mild,high,true, is Overcast,hot,normal,false, is rainy,mild,high,true, no

Open this file in Weka

will be able to display the normal Chinese

END

WIN7 system Installation Data Mining work platform Weka

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.