⛏️
B.TECH III YEAR • I SEMESTER • R21

Data Mining - Lab Manual

Data Mining Laboratory • Using WEKA Tool Kit

📘 R21 Regulation 🎓 III Year 📚 I Semester ⛏️ Data Mining 🛠️ WEKA Tool Kit 🧪 Lab Program
Aim

From the loaded dataset(weather.arff), observe the attribute names, attribute types, number of records in the dataset, Identify the class attribute (if any), and visualize the data in various dimensions.

← All Programs
Solution

Description:

We need to load a dataset (weather.arff) from the available data sets and observe the attribute names, attribute types, number of records in the dataset, Identify the class attribute (if any), and visualize the data in various dimensions..

To load a dataset (weather.arff) :

Procedure:

Steps:

1) Open the Weka GUI Chooser


2) In that Weka GUI chooser there are five applications, click on Explorer.


3) Explorer shows many options. In that click on 'open file...' button.


4) Choose WEKA folder in C drive.


5) Select and click on the data folder.


6) Select a dataset (weather. arff) from list of available datasets and Click on the Open button.


7) The Weka Explorer exhibits a window as displayed below.


 

Observe the following things:

(i) Attribute names

The following are the attribute names:


 

(ii) Attribute Types

The following is the list of attribute names along with their types.

Attribute Type
temperature Numeric
humidity Numeric
outlook Nominal
windy Nominal
play Nominal

In the above, the attributes temperature and humidity have datatype as Numeric. And the outlook, windy, and play attributes have datatype as Nominal.


 

 

(iii) Number of records in the dataset

The number of instances/records in the dataset: 10


 

(iv) Identify the class attribute (if any)

In the dataset, there is a class attribute that is play. It has two classes those are yes and no.


 
(v) Visualize the data of all attributes

 

Result:

The attribute names, attribute types, number of records in the dataset, the class attribute are observed. And visualize the data in the all attributes.

← Back to Data Mining Lab Programs 📚 All Lab Manuals