Lab Record 1-9
Lab Record 1-9
Subject Code:
Name:
Registration No.:
Campus: Bhubaneswar
CENTURION UNIVERSITY OF TECHNOLOGY AND MANAGEMENT
ODISHA
Certificate
This is to certify that Mr./Ms. ............................................................................ having
7th
Registration No. ............................................... of ........................................ Semester,
requirements.
Of)ice Seal
INDEX
Sl. Page Faculty
Date Name of the Experiment Remark
No. No. Signature
School Of Engineering and Technology
School: ............................................................................................................. Bhubaneswar
Campus: .......................................................
2023-
Academic Year: ...................... Subject Name: ........................................................... Subject Code: ..........................
24
7th Program: ........................................ Branch: ......................... Specialization: ..........................
Semester: ...............
Date: .....................................
%
<30, high, no, fair, no
<30, high, no, excellent, no 30-40, high, no, fair, yes
>40, medium, no, fair, yes
>40, low, yes, fair, yes
>40, low, yes, excellent, no 30-40, low, yes, excellent, yes
<30, medium, no, fair, no
<30, low, yes, fair, no
>40, medium, yes, fair, yes
<30, medium, yes, excellent, yes
30-40, medium, no, excellent, yes
30-40, high, yes, fair, yes
>40, medium, no, excellent, no
Procedure:
Steps:
1. Open Start Programs Accessories Notepad
2. Type the following training data set with the help of Notepad for student
3. After that the file is saved with .arff file format.
4. Minimize the arff file and then open Start>Programs>weka-3-4.
5. Click onweka-3-4, then Weka dialog box is displayed on the screen.
6. In that dialog box there are four applications, click on explorer.
7. While staying on preprocessing tab click on ‘open file’ and select the arff file
8. Weka will analyze and show the preprocessed student data .
Preprocessing:
Discretization:
Steps:
1. To discretize based on age attribute, Select the age attribute.
2. Click on choose button under filter section then unsupervised>attribute>discretize
3. To change the defaults for the filters, click on the box immediately to the right of
the choose button.
4. On the pop up dialog box set index as 1 and bins as 3 then click Ok then apply the
filter.
5. This will result in a new working relation with the selected attribute partition into
3 bins.
Result:
We have successfully preprocessed and discretize student data set.
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Date: .....................................
Procedure:
Steps:
1. Click onweka-3-4, then Weka dialog box is displayed on the screen.
2. In that dialog box there are four applications, click on explorer.
3. While staying on preprocessing tab click on ‘open file’ and select the labor.arff file
from the datasets.
4. Weka will analyze and show the preprocessed student data .
Pre-processing:
Discretization:
Steps:
1. To discretize based on duration attribute, Select the duration attribute.
2. Click on choose button under filter section then unsupervised>attribute>discretize
3. To change the defaults for the filters, click on the box immediately to the right of
the choose button.
4. On the pop up dialog box set index as 1 and bins as 1 then click Ok then apply the
filter.
5. This will result in a new working relation with the selected attribute partition into
1 bin.
Result:
We have successfully preprocessed and discretize labor data set.
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Date: .....................................
Procedure:
Steps:
1. Open the data file in Weka Explorer. It is presumed that the required data fields have
been discretized. In this example it is age attribute.
2. Clicking on the associate tab will bring up the interface for association rule algorithm.
3. We will use apriori algorithm. This is the default algorithm.
4. Inorder to change the parameters for the run (example support, confidence etc) we
click on the text box immediately to the right of the choose button.
Association rules that were generated when apriori algorithm is applied on the
given dataset:
Result:
This program has been successfully executed
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Date: .....................................
Result:
This program has been successfully executed
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Date: .....................................
Procedure:
Steps:
1. Open the student data file in Weka Explorer assuming that preprocessing has been
done .
2. Next we select the “classify” tab and click “choose” button to select the
“j48”classifier.
3. Now we specify the various parameters.
4. Under the “text” options in the main panel. We select the 10-fold cross validation as
our evaluation approach.
5. We now click ”start” to generate the model .The Ascii version of the tree as well as
evaluation statistic will appear in the right panel when the model construction is
complete.
Classification using j48 algorithm:
Result:
We have successfully classified student dataset using j48 algorithm.
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Date: .....................................
Procedure:
Steps:
1. Open the employee data file in Weka Explorer assuming that preprocessing has been
done .
2. Next we select the “classify” tab and click “choose” button to select the
“j48”classifier.
3. Now we specify the various parameters.
4. Under the “text” options in the main panel. We select the 10-fold cross validation as
our evaluation approach.
5. We now click ”start” to generate the model .The Ascii version of the tree as well as
evaluation statistic will appear in the right panel when the model construction is
complete.
Classification using j48 algorithm:
Result:
We have successfully classified employee dataset using j48 algorithm.
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Date: .....................................
Procedure:
Steps:
1. Open the employee data file in Weka Explorer assuming that preprocessing has been
done .
2. Next we select the “classify” tab and click “choose” button to select the “naïve
bayes ”classifier.
3. Now we specify the various parameters.
4. Under the “text” options in the main panel. We select the 10-fold cross validation as
our evaluation approach.
5. We now click ”start” to generate the model .The Ascii version of the tree as well as
evaluation statistic will appear in the right panel when the model construction is
complete.
Classification using naïve bayes algorithm:
Result:
We have successfully classified employee dataset using naïve bayes algorithm.
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Date: .....................................
Procedure:
Steps:
1. Run the Weka explorer and load the data file iris.arff in preprocessing interface.
2. Select the ‘cluster’ tab in the explorer
3. Select ‘simple k-means’ algorithm from the drop-down menu .
4. Next click in text button to the right of the choose button to get popup window, enter
six on the number of clusters and we leave the value of the seed on as it is.
5. The use of training set option is selected and then we click ‘start’ button.
6. The result window shows the centroid of each cluster as well as statistics on the
number and the percent of instances assigned to different clusters.
Clustering using simple-k-means algorithm:
Result:
We have successfully used clustering using simple-k-means algorithm on iris dataset.
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Date: .....................................
Procedure:
Steps:
1. Run the Weka explorer and load the data file student.arff in preprocessing interface.
2. Select the ‘cluster’ tab in the explorer
3. Select ‘simple k-means’ algorithm from the drop-down menu .
4. Next click in text button to the right of the choose button to get popup window, enter
six on the number of clusters and we leave the value of the seed on as it is.
5. The use of training set option is selected and then we click ‘start’ button.
6. The result window shows the centroid of each cluster as well as statistics on the
number and the percent of instances assigned to different clusters.
Clustering using simple-k-means algorithm:
Result:
We have successfully used clustering using simple-k-means algorithm on student dataset.
Rubrics
Concept 10
Planning and Execution/ 10
Practical Simulation/ Programming
Result and Interpretation 10
Record of Applied and Action Learning 10
Viva 10
Total 50
Experiment - 1 50 Experiment - 12 50
Experiment - 2 50 Experiment - 13 50
Experiment - 3 50 Experiment - 14 50
Experiment - 4 50 Experiment - 15 50
Experiment - 5 50 Experiment - 16 50
Experiment - 6 50 Experiment - 17 50
Experiment - 7 50 Experiment - 18 50
Experiment - 8 50 Experiment - 19 50
Experiment - 9 50 Experiment - 20 50
Experiment - 10 50 Average
50
Experiment - 11 50 Total
* LEARNING OUTCOMES:
How the Applied and Action Learning encourages Critical Thinking, Problem
Solving, Idea Generation and Skill Development etc.?
How the Applied and Action Learning encourages Leadership, Team Work,
Reflection and Decision Making Capability etc.?
1 2 3 4 5 6 7 8 9 10
LOW HIGH
Books/Manuals Referred:
CAMPUSES:
Paralakhemundi Campus Bhubaneswar Campus Balangir Campus Rayagada Campus Balasore Campus Chatrapur Campus
Village Alluri Nagar Ramchandrapur Behind BSNL Office IDCO Industrial Area Gopalpur, Ramchandrapur,
P.O. – R Sitapur, Via- Uppalada P.O. – Jatni, Bhubaneswar IDCO land, Rajib Nagar Pitamahal, Rayagada P.O.-Balasore Kaliabali Chhak,
Paralakhemundi, Dist.- Gajapati Dist.- Khurda, Odisha, Dist.- Balangir, Odisha Dist.-Rayagada, Odisha Dist.-Balasore, Odisha P.O-Chatrapur, Dist.-Ganjam
Odisha, India. PIN– 761211 India, PIN– 752050 India, PIN-767001 India, PIN-765001 India, PIN-756044 Odisha, India, PIN-761020