Ai ML Final Lab Manual
Ai ML Final Lab Manual
Ai ML Final Lab Manual
Laboratory Manual
(Foundation of AI and ML)
(4351601)
DTE’s Vision:
● To provide globally competitive technical education;
● Remove geographical imbalances and inconsistencies;
● Develop student friendly resources with a special focus on girls’ educationand support
to weaker sections;
● Develop programs relevant to industry and create a vibrant pool of technical
professionals.
DTE’s Mission:
• To facilitate quality technical and professional education having relevance for both industry and
society, with moral and ethical values, giving equal opportunity and access, aiming to prepare globally
competent technocrats.
Institute’s Vision:
• To be a leading technical institute that provides transformative education to learners for achieving
competency as per the needs of industry and society, thus contributing to nation building.
Institute’s Mission:
• To provide a conducive learning environment to nurture learners.
• To act as a catalyst for achieving academic excellence by bringing stake holders on same platform.
• To be committed towards continuous improvement and enrichment of learners by a holistic
approach to education so as to enable them to be successful individuals and responsible citizens of
India.
Department’s Vision:
• To acquire quality Education, Research and Development in the field of Information technology
meeting the global standards and comply with the ever-growing technology.
Department’s Mission:
• The graduates of our department will be efficient in technical and ethical responsibilities to become
globally recognized by pursuing opportunities for higher studies and real time problem solving.
• Project development in association with the Government, Industries and Professionals will be done
that can meet industrial needs.
• Students will be competent by learning the principals of Information technology that can match
national and international standards.
Foundation of AI and ML (4351601)
Certificate
GTU curriculum.
Place: Rajkot
Date: …………………….
Preface
The primary aim of any laboratory/Practical/field work is enhancement of required skills as
well as creative ability amongst students to solve real time problems by developing relevant
competencies in psychomotor domain. Keeping in view, GTU has designed competency focused
outcome-based curriculum -2021 (COGC-2021) for Diploma engineering programmes. In this more
time is allotted to practical work than theory. It shows importance of enhancement of skills amongst
students and it pays attention to utilize every second of time allotted for practical amongst Students,
Instructors and Lecturers to achieve relevant outcomes by performing rather than writing practice in
study type. It is essential for effective implementation of competency focused outcome- based Green
curriculum-2021. Every practical has been keenly designed to serve as a tool to develop & enhance
relevant industry needed competency in each and every student. These psychomotor skills are very
difficult to develop through traditional chalk and board content delivery method in the classroom.
Accordingly, this lab manual has been designed to focus on the industry defined relevant outcomes,
rather than old practice of conducting practical to prove concept and theory.
By using this lab manual, students can read procedure one day in advance to actual
performance day of practical experiment which generates interest and also, they can have idea of
judgement of magnitude prior to performance. This in turn enhances predetermined outcomes amongst
students. Each and every Experiment /Practical in this manual begins by competency, industry relevant
skills, course outcomes as well as practical outcomes which serve as a key role for doing the practical.
The students will also have a clear idea of safety and necessary precautions to be taken while
performing experiment.
This manual also provides guidelines to lecturers to facilitate student-centred lab activities for
each practical/experiment by arranging and managing necessary resources in order that the students
follow the procedures with required safety and necessary precautions to achieve outcomes. It also
gives an idea that how students will be assessed by providing Rubrics.
Fundamentals of machine learning course will help students to build up core competencies in
understanding machine learning approaches and students will be able to design and train machine
learning modes for various use cases. The lab work of the course is designed to develop crisp
understanding of the underpinning theory.
Although we try our level best to design this lab manual, but always there are chances of
improvement. We welcome any suggestions for improvement.
3 | Page
Foundation of AI and ML (4351601)
1. Basic and Discipline specific knowledge: Apply knowledge of basic mathematics, science
and engineering fundamentals and engineering specialization to solve the engineering
problems.
2. Problem analysis: Identify and analyse well-defined engineering problems using codified
standard methods.
4. Engineering Tools, Experimentation and Testing: Apply modern engineering tools and
appropriate technique to conduct standard tests and measurements.
7. Life-long learning: Ability to analyze individual needs and engage in updating in the context
of technological changes in field of engineering.
4 | Page
Foundation of AI and ML (4351601)
5 | Page
Foundation of AI and ML (4351601)
a) Student will learn to automate variety of task making system more efficient and cost
effective.
b) Student will learn efficient handling of data that will cater to better data analytics
c) Student will lean to implement AI and ML approaches to varied field of applications from
healthcare to e-commerce.
6 | Page
Foundation of AI and ML (4351601)
CODE:
OUTPUT:
PRACTICAL – 2
AIM: Implement following activation functions using python to build simple neural network.
a. ReLU
b. Sigmoid
c. Tanh
CODE:
OUTPUT:
PRACTICAL – 3
AIM: Implement following feed forward neural network using python programming:
a. Single layer feed forward neural network.
b. multi-layer feed forward neural network.
CODE:
OUTPUT:
PRACTICAL 4(b)
AIM: Write a python program that accepts the list of tokenized word and stems it into root
word using NLTK Library.
CODE:
OUTPUT:
PRACTICAL – 4(c)
AIM: Write a program in python to identify the part of speech for each word in the text using NLTK.
CODE:
OUTPUT:
PRACTICAL – 4(d)
AIM: Write a Python NLTK program to remove stop words from a given text using NLTK.
CODE:
OUTPUT:
PRACTICAL – 4(e)
AIM: Write a python program for identifying and correcting misspelled words in a given text,
such as an essay or a letter using NLTK.
CODE:
OUTPUT:
PRACTICAL – 5
AIM: Implement following Word embedding techniques in NLP.
a. TFIDF- Term Frequency Inverse Document Frequency
b. BOW (Bag of Words)
c. Word2Vec
CODE:
OUTPUT:
PRACTICAL – 6
AIM: Implement Pre-Trained Word Embedding: GloVe Technique in NLP.
CODE:
OUTPUT: