ML Lab Manual
ML Lab Manual
NAME:
……………………………………………………………………………………….
Course File
(III B. Tech: II Semester)
MACHINE LEARNING LAB
Department of CSE
Website: www.avanthienggcollege.ac.in
AVANTHI INSTITUTE OF ENGINEERING & TECHNOLOGY
(Approved by AICTE Recognized by APSHCE, Permanently Affillated to JNTU-Kakinada.
Accredited by NAAC & Recognized Under 2(f) and 12(b) by UGC, New Delhi)
TAMARAM(V), MAKAVARAPALEM (MD), VISAKHAPATNAM – 531113
CERTIFICATE
Certified that this is a bonafied record of practical work done
by ……………………………………………of …………B.Tech.
year ……………….
2) Internal:
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113
DEPARTMENT VISION:
DEPARTMENT MISSION:
CSE HOD
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113
PEO 1: Graduates will have demonstrated a through grounding in the fundamental principles of
Basic Sciences, English, other Engineering disciplines, computer science & engineering subjects
and practices of computer science and convey a professional attitude appropriate for a diverse
world community.
PEO 2: Graduates will have undertaken complex problems and developed appropriate technical
solutions.
PEO 3: Graduates will be prepared to communicate and work effectively on team based
engineering projects and will practice the ethics of their professional consistent with a sense of
social responsibility.
PEO 4: Graduates will have demonstrated exposure to emerging and modern technologies to
succeed in engineering profession in various agencies and also pursuit advanced degrees in
engineering.
CSE HOD
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113
SYSTEM CONFIGURATION:-
NETWORK CONFIGURATION:-
SOFTWARES:-
1. OPERATING SYSTEM – WINDOWS - 11
2. MS – OFFICE 2007
3. C PROGRAMMING LAB – DEV – C++, Python 3.8, R Studio 4.2.2,
Visual Paradigm 16.0, Week 3.8.2
CO/PO A B C D E F G H I J K L
CO1
CO2
CO3
CO4
Level of Mapping:
CO/PO A B C D E F G H I J K L
CO1
CO2
CO3
CO4
Course Objectives
This course will enable students to learn and understand different Data
sets in implementing the machine learning algorithms.
Lab In charge
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113
MACHINE LEARNING
1 2 3 4 5 6 7
DAY’s 10:20
9:30 to 11:10 to 12:50 to 1:40 to 2:30 to 3:20 to
to
10:20 12:00 1:40 2:30 3:20 4:10
11:10
MON
TUE
LUNCH BREAK
12:00 TO 12:50
WED
FRI
SAT
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113
DO’S:
DON’T’s:
• Do Not Insert External Devices into the System without Lab incharge
Permission.
• Do Not Bring eatables in to the Lab.
• Do Not Switch Off Computer By Pressing Power Switch Button.
• Do Not Create Disturbances in the Lab.
• Do Not Take Anything From Lab.
• Do Not Disconnect Any Cable Or Anything From Computer.
Syllabus
Page No
S. No Name of the Experiment
Experiment-1:
Implement and demonstrate the FIND-S algorithm for finding
1.
the most specific hypothesis based on a given set of training data
samples. Read the training data from a .CSV file.
Experiment-2:
For a given set of training data examples stored in a .CSV file,
2. implement and demonstrate the Candidate Elimination algorithm
to output a description of the set of all hypotheses consistent with
the training examples.
Experiment-3:
Write a program to demonstrate the working of the decision tree
3.
based ID3 algorithm. Use an appropriate
data set for building the decision tree and apply this knowledge
to classify a new sample.
Experiment-4:
Exercises to solve the real-world problems using the following
4. machine learning methods:
a) Linear Regression, b) Logistic Regression
c) Binary Classifier
Experiment-5: Develop a program for Bias, Variance, Remove
5.
duplicates , Cross Validation
Experiment-7:
Build an Artificial Neural Network by implementing the Back
7.
propagation algorithm and test the same
using appropriate data sets.
Experiment-8:
8. Write a program to implement k-Nearest Neighbor algorithm to
classify the iris data set. Print both correct
and wrong predictions.
Experiment-10:
Assuming a set of documents that need to be classified, use the
naïve Bayesian Classifier model to
10.
perform this task. Built-in Java classes/API can be used to write
the program. Calculate the accuracy,
precision, and recall for your data set.
Experiment-13:
Write a Python program to construct a Bayesian network
13. considering medical data. Use this model to
demonstrate the diagnosis of heart patients using standard Heart
Disease Data Set
Experiment-14:
14. Write a program to Implement Support Vector Machines and
Principle Component Analysis
Experiment-15:
15.
Write a program to Implement Principle Component Analysis
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113