0% found this document useful (0 votes)
199 views13 pages

Data Mining Lab

The document outlines 11 steps for creating an employee ARFF file for data mining: 1) open Notepad, 2) write the ARFF file contents, 3) save with a .arff extension, 4) open Weka and select the Explorer option, 5) open the ARFF file, 6) view the attributes and details, 7) select attributes to visualize, 8) view graphs of attributes, 9) edit the file to view all data, and 10) click "visualize all" to see attributes together.

Uploaded by

Shruti David
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
199 views13 pages

Data Mining Lab

The document outlines 11 steps for creating an employee ARFF file for data mining: 1) open Notepad, 2) write the ARFF file contents, 3) save with a .arff extension, 4) open Weka and select the Explorer option, 5) open the ARFF file, 6) view the attributes and details, 7) select attributes to visualize, 8) view graphs of attributes, 9) edit the file to view all data, and 10) click "visualize all" to see attributes together.

Uploaded by

Shruti David
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Data Mining Lab Page no :

H.no :
1 4 3 2 1 A 1 2 5 1

CREATION OF EMPLOYEE ARFF FILE

STEP 1:

 To create an arff file first open note pad by clicking on start menu

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 2:

 Click on notepad option in start menu. An untitled notepad window is


displayed

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 3:

 Write the contents of arff file for the employee relation

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 4

 Save the file with .arff extension

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 5:

 Open the weka tool and select the explorer option

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 6:

 Now we will get a window called weka explorer where we should open the
arff file that we have created.
 Now click on open file option

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 7:

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

 Now we will get an open window from where we need to select which we
have created

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 8:

 After opening the file we will get the number of attributes and the names of
those attributes in weka explorer window

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 9:

 Now select the attributes. The type and additional details are also displayed
for selected attribute at the right side of preprocessed window

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 10:

 Click on visualize all button.After that we can see the details of all the
attributes at one place
 Graphs are not displayed for string attributes.

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

STEP 11:

 Click on edit option to open the viewer.


 In this we can see all the data we save in arff file

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059
Data Mining Lab Page no :
H.no :
1 4 3 2 1 A 1 2 5 1

BHOJ REDDY ENGINEERING COLLEGE FOR WOMEN


(affiliated to JNT university) Vinay nagar,Saidabad,Hyderabad-500059

You might also like