0% found this document useful (0 votes)
13 views46 pages

ML Lab Manual

The document is a laboratory manual for the Machine Learning Lab at Avanthi Institute of Engineering and Technology for the academic year 2024-25. It outlines the course objectives, outcomes, and experiments to be conducted, along with the vision and mission of the Computer Science and Engineering department. Additionally, it includes system configurations, lab instructions, and a timetable for lab sessions.

Uploaded by

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

ML Lab Manual

The document is a laboratory manual for the Machine Learning Lab at Avanthi Institute of Engineering and Technology for the academic year 2024-25. It outlines the course objectives, outcomes, and experiments to be conducted, along with the vision and mission of the Computer Science and Engineering department. Additionally, it includes system configurations, lab instructions, and a timetable for lab sessions.

Uploaded by

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

AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY

Approved by AICTE, Permanently Affiliated to JNTU GV,


Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

LABORATORY MANUAL & RECORD

NAME:
……………………………………………………………………………………….

ROLL NO: ……………………………………… BRANCH: ………………………

YEAR: …………………………….. SECTION: ……………………………………


AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNTU GV,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

Course File
(III B. Tech: II Semester)
MACHINE LEARNING LAB

Academic Year- 2024-25


By
K. Vara Prasad

(Assistant Professor, Department of CSE)

Department of CSE

Avanthi Institute of Engineering and Technology

Tamaram, Makavarapalem, Narsipatnam road, Visakhapatnam


District, ANDHRA PRADESH, INDIA.
E-mail: [email protected], Phone: 08932-222382

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

JNTU / Regd. No_____________

CERTIFICATE
Certified that this is a bonafied record of practical work done

by ……………………………………………of …………B.Tech.

………………………..Semester in the ………………………….

Lab. of Department of….………Engineering during the academic

year ……………….

No. of Experiments done & certified

Signature of the Examiners Signature of


Laboratory In-Charge
1) External:

2) Internal:
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

VISION AND MISSION OF THE DEPARTMENT

DEPARTMENT VISION:

To develop highly skilled professionals with Ethics and Human values.

DEPARTMENT MISSION:

1. To be instrumental in the field of computer Science & Engineering by Proving high


quality education and Continuous quality improvement process of the program.
2. Assess and evaluate various processes provides the required information to the faculty,
administrators on the effectiveness of the design, delivery and directions of the program.
3. Improvements based on feedback from evaluations will close the system loop and process
will continue year after year…

CSE HOD
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

PROGRAMME EDUCATIONAL OBJECTIVES: PEO’s

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.

PROGRAMME OUTCOMES: PO’s

1. ENGINEERING KNOWLEDGE: Apply the knowledge of mathematics, science,


engineering fundamentals, and an engineering specialization to the solution of complex
engineering problems.
2. PROBLEM ANALYSIS: Identify, formulate, research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences.
3. DESIGN/DEVELOPMENT OF SOLUTIONS: Design solutions for complex engineering
problems and design system components or processes that meet the specified needs with
appropriate consideration for the public health and safety, and the cultural, societal, and
environmental considerations.
4. CONDUCT INVESTIGATIONS OF COMPLEX PROBLEMS: Use research-based
knowledge and research methods including design of experiments, analysis and interpretation
of data, and synthesis of the information to provide valid conclusions.
5. MODERN TOOL USAGE: Create, select, and apply appropriate techniques, resources, and
modern engineering and IT tools including prediction and modelling to complex engineering
activities with an understanding of the limitations.
6. THE ENGINEER AND SOCIETY: Apply reasoning informed by the contextual knowledge
to assess societal, health, safety, legal and cultural issues and the consequent responsibilities
relevant to the professional engineering practice.
7. ENVIRONMENT AND SUSTAINABILITY: Understand the impact of the professional
engineering solutions in societal and environmental contexts, and demonstrate the knowledge
of, and need for sustainable development.
8. ETHICS: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
9. INDIVIDUAL AND TEAM WORK: Function effectively as an individual, and as a
member or leader in diverse teams, and in multidisciplinary settings.
10. COMMUNICATION: Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend and
write effective reports and design documentation, make effective presentations, give and
receive clear instructions.
11. PROJECT MANAGEMENT AND FINANCE: Demonstrate knowledge and understanding
of the engineering and management principles and apply these to one’s own work, as a
member and leader in a team, to manage projects and in multidisciplinary environments
12. LIFE-LONG LEARNING: Recognize the need for, and have the preparation and ability to
engage in independent and life-long learning in the broadest context of technological change.
PSO1: An Ability to designed develop Innovative Electronics & Communication System.

CSE HOD
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

GROUND FLOOR – LAB

SYSTEM CONFIGURATION:-

1. MOTHER BOARD – DELL


2. CPU –Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz 2.90 GHz
3. RAM – 8.00 GB
4. HARD DISK – 500 GB
5. MONITOR – DELL
6. KEYBOARD – NORMAL
7. MOUSE – OPTICAL
8. CABINET WITH SMPS

NETWORK CONFIGURATION:-

1. NETWORK LAN – CAT6, RJ45


2. DLINKS – 10/100 Mbps
3. SWITCH – 10/100 Mbps

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

Lab Incharge Head of Department


Computer Science & Engineering
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

Department of Computer Science & Engineering


Name of the Lab: MACHINE LEARNING Year & Sem: III & II

COURSE OUTCOMES NO DESCRIPTION OF COURSE OUTCOMES

CO1 Implement procedures for the machine learning


algorithms
CO2 Design and Develop Python programs for various
Learning algorithms
CO3 Apply appropriate data sets to the Machine
Learning algorithms

CO4 Develop Machine Learning algorithms to solve real


world problems
CO Mapped with Pos:

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

1: Weakly Mapped 2: Moderately Mapped 3: Strongly Mapped


4: Very Strongly Mapped 5: Excellently Mapped
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

Course Objectives

This course will enable students to learn and understand different Data
sets in implementing the machine learning algorithms.

Course Outcomes (Cos)

At the end of the course, student will be able to


• Implement procedures for the machine learning algorithms
• Design and Develop Python programs for various Learning
algorithms
• Apply appropriate data sets to the Machine Learning algorithms
• Develop Machine Learning algorithms to solve real world problems

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

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

III Year – II SEMESTER

MACHINE LEARNING

LAB TIME TABLE

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

THUR III YEAR CSE-2 (ML LAB)

FRI

SAT
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

INSTRUCTIONS TO BE FOLLOWED IN LABORATORY

DO’S:

• Bring Observations and Records for every academic Lab Sessions.

• Sit And Wait for Teacher’s Instructions.


• Handle The Devices Gently.
• Keep The Lab Clean.
• Keep The Silence.
• Shutdown the Computer Properly.
• Arrange The Chairs Properly While Leaving.

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.

Lab In charge Head of the Department


Department of CSE
AVANTHI INSTITUTE OF ENGINEERING AND TECHNOLOGY
Approved by AICTE, Permanently Affiliated to JNT University, Kakinada,
Tamaram, Makavarapalem, Narsipatnam (RD), Visakhapatnam Dist-531113

Syllabus
Page No
S. No Name of the Experiment

INTRODUCTION OF MACHINE LEARNING and


GOOGLE COLAB

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-6: Write a program to implement Categorical


6.
Encoding, One-hot Encoding

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-9: Implement the non-parametric Locally Weighted


Regression algorithm in order to fit data
9.
points. Select appropriate data set for your experiment and draw
graphs.

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-11: Apply EM algorithm to cluster a Heart Disease


Data Set. Use the same data set for
clustering using k-Means algorithm. Compare the results of these
11.
two algorithms and comment on the
quality of clustering. You can add Java/Python ML library
classes/API in the program.

Experiment-12: Exploratory Data Analysis for Classification


12.
using Pandas or Matplotlib.

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

INTRODUCTION OF MACHINE LEARNING and GOOGLE COLAB


VIVA QUESTIONS

You might also like