top of page

Data Mining Lab Manual BCA sem.-4 (SOU)

Updated: Mar 17, 2023


Subject : Data Mining Lab Manual

BCA Sem.-4 Model: 1


Experiment No.: 1

Aim : Create an Employee Table with the help of Data Mining Tool WEKA.

Description: We need to create an Employee Table with a training data set which includes attributes like name, id, salary, experince, gender, phone number.


Procedure:

Steps:

  1. Open Start ➡️ Programs ➡️ Accessories ➡️ Notepad.

  2. Type the following training data set with the help of notepad for employee table.

a. relation employee

a. attribute name {x,y,z,a,b}

a. attribute id numeric

a. attribute salary (low, medium, high)

a. attribute exp numeric

a. attribute gender (male, female)

a. attribute phone numeric


a. Data:

x, 101, low, 2, male, 250311

y, 102, high, 3, female, 251665

z, 103, medium, 1, male, 240238

a, 104, low, 5, female, 20020

b, 104, high, 2, male, 240240


  1. that the file is saved with add file format.

  2. 2. Minimize the add file and than open start ➡️ program ➡️ WEKA -3-4

  3. Click on WEKA -3-4 then WEKA dialogue box is displayed on the screen.

  4. In that dialogue box there are four modes click on explorer.

  5. Explorer shows many options In that click on open file and select the file..

  6. Click on edit button which shows employee table on WEKA.


Experiment No.: 2

Aim: Create a Weather Table with the help of Data Mining Tool WEKA.

Description: We need to create a Weather table with training data set which includes attributes like, outlook, temperature, humidity, windy, play.


Procedure:

Steps:

  1. Open ➡️ Start ➡️ Program ➡️ Accessories ➡️ Notepad.

  2. Type the following training data set with the help of Notepad for weather table.

a. relation weather

a. attribute outlook {sunny, rainy, overcast}

a. attribute temperature numeric

a. attribute windly, {true, false}

a. attribute play { yes, no}


a. Data:

sunny, 85.0, 85.0, false, no

overcast, 80.0, 90.0, true, no

sunny, 83.0, 86.0, false, yes

rainy, 70.0, 80.0, false, yes

overcast, 64.0, 65.0, false, yes

sunny, 72.0, 95.0, true, no

sunny, 69.0, 70.0, false, yes

rainy, 75.0, 80.0, false, yes


  1. After that the file as saved with all file format.

  2. Minimize the file and than open start ➡️ program ➡️ WEKA -3-4.

  3. Click WEKA-3-4, then WEKA dialog box is displayed on the screen.

  4. In that dialog box there are four modes click on explorer.

  5. Explore shows many options In that click on open file and select the ARFF file.

  6. Click on edit button which shows weather table on WEKA.


Experiment No.:3

Aim: Apply Pre-processing techniques to the training data set of Weather Table.

Description: Real world databases are highly influenced to noise, missing, and inconsistency due to their queue size so the data can be pre-processed to improve the quality of data and missing results and it also improves the efficiency.


There are 3 pre-processing techniques they are:

  1. Add

  2. Remove

  3. Normalization

Creation of Weather Table :

Procedure:

  1. Open ➡️ start ➡️ Program ➡️ Accessories ➡️ Notepad.

  2. Type the following training data set with the help of Notepad for weather table.

a. relation weather

a. attribute outlook {sunny, rainy, overcast}

a. attribute temperature numeric

a. attribute humidity numeric

a. attribute windly {true, false}

a. attribute play {yes, no}


a. Data:

sunny, 85.0, 85.0, false, no

overcast, 80.0, 90.0, true, no

sunny, 83.0, 86.0, false, yes

rainy, 70.0, 86.0, false, yes

rainy, 68.0, 80.0, false, yes

overcast, 64.0, 65.0, true, no

sunny, 69.0, 70.0, false, yes

rainy, 75.0, 80.0, false, yes


  1. After that the file is saved with ARFF file format.

  2. Minimize the ARFF file and than open ➡️ Start ➡️ Program ➡️ WEKA-3-4.

  3. Click on WEKA-3-4 then WEKA dialog box is displayed on the screen.

  4. In that dialog box there are four modes click on explorer.

  5. Explorer shows many options In that click on open file and select the ARFF file.

  6. Click on edit button which shows weather table on WEKA. Add pre-processing technique.

Procedure:

  1. Start ➡️ Programs ➡️ WEKA-3-4

  2. Click on explores.

  3. Click on open file.

  4. Select weather ARFF file and click on open

  5. Click on choose button and select the filter option.

  6. In filter, we have supervised and unsupervised data.

  7. Click on unsupervised data.

  8. Select the attribute add.

  9. A new window is opened.

  10. In that we enter attribute index type data format nominal level value for climate

  11. Click on OK.

  12. Press the apply latter than a new attribute as added to the weather table.

  13. Save the file.

Remove Pre-processing technique:

Procedure :

  1. Start ➡️ Program ➡️ WEKA-3-4 ➡️ WEKA-3-4.

  2. Click on explorer.

  3. Click on open file.

  4. Select weather ARFF file and click on open.

  5. Click on choose button and select the printer option.

  6. In printer, we have have supervised data.

  7. Click on unsupervised data.

  8. Select the attribute remove.

  9. Select the attribute windly play and remove.

  10. Click remove button and then save.

  11. Click on the edit button it shows a new weather table on WEKA.

Normalize Pre-processing Technique:

Procedure :

  1. Start ➡️ Program ➡️ WEKA-3-4 ➡️ WEKA-3-4.

  2. Click on explore.

  3. Click on open file.

  4. Select weather ARFF file and click on open.

  5. Click choose button and select the printer option.

  6. In printer we have supervised and unsupervised data.

  7. Click on unsupervised data.

  8. Select the attribute normalized.

  9. Select the attribute temperature humidity to normalize.

  10. Click on the edit button, it shows a new weather table with normalized value on WEKA.

Weather table after normalizing TEMPERATURE HUMIDITY.


Experiment No.:4

Aim: Apply pre-processing techniques to the training data set of Employee Table

Description: Real world databases are highly influenced to noise, missing and inconsistency due to their queue size so the data can be pre-processed to improve the quality of data and missing results and it also improves the efficiency.


There are 3 pre-processing techniques they are :

  1. Add

  2. Remove

  3. Normalization

Creation of Employee Table :

Procedure :

  1. Open ➡️ Start ➡️ Programs ➡️ Accessories ➡️ Notepad .

  2. Type the following training data set truth the help of notepad for employee table.

a. relation employee

a. attribute name {x,y,z,a,b}

a. attribute id numeric

a. attribute salary {low, medium, high}

a. attribute exp. numeric

a. attribute gender {male, female}

a. attribute phone numeric


a. Data:

x, 101, low, 2, male, 250311

y, 102, high, 3, female, 251665

z, 102, high, 5, female, 200200

a, 104, low, 1, male, 240328

b, 105, high, 2, male, 140240


3. After that the file is saved with ARFF file format.

4. Minimize the ARFF file and then open ➡️ Start ➡️ program ➡️ WEKA-3-4.

5. Click on WEKA-3-4 then WEKA dialog box is displayed on the screen.

6. In that dialog box there are four module click on explore.

7. Explorer shows many options In that click on open file and select the ARFF file.

8. Click on edit button which shows employee table on WEKA.







WORK IN PROCESS




...

23 views0 comments

Recent Posts

See All

Comentarios

Obtuvo 0 de 5 estrellas.
Aún no hay calificaciones

Agrega una calificación

Connect To Me 

  • YouTube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
  • Pinterest
bottom of page