Experiment No.
1
TE (AI&DS) ROLL NO : 10355
Date of Implementation: 14-07-2025
Aim: To set up the Python environment and install necessary libraries for machine learning
applications.
Programming Language Used : Python
Upon completion of this experiment, students will be able to
CO1 : Comprehend basics of Machine Learning
Indicator Poor Average Good
Timeline
Submission One or More than Maintains deadline
Maintains submission not done (0) One week late (1) (2)
deadline (2)
Completion and Many Completed whole
Document is just
Organization (2) mistakes in document and neatly
acceptable (1)
documents (0) organized (2)
Program Performance Could not
Implemented few Full implementation
(2) perform at all
parts (1) (2)
(0)
Knowledge Unable to Able to answer all
Unable to answer few
In depth knowledge of answer questions with proper
questions (1-2)
the Experiment(4) questions(0) explanation (3-4)
Assessment Marks :
Timeline
Completion and
Organization
Program
Performance
Knowledge
TOTAL :
EXPERIMEN 1
T
Aim To set up the Python environment and install necessary libraries for machine
learning applications.
Tools Python
Theory Machine learning (ML) requires a Python environment that includes libraries
for data handling, visualization, and modeling. This experiment helps in setting
up a development environment with the following popular ML libraries:
● NumPy: For numerical operations.
● Pandas: For data manipulation.
● Matplotlib & Seaborn: For data visualization.
● Scikit-learn: For ML algorithms.
● TensorFlow & Keras: For deep learning.
Implementa 1. Install Python
tion 2. Install Libraries via pip:
3. Verify Installation:
4. Open a Python script or notebook and run:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import sklearn
import tensorflow as tf
import keras
5. give Viva on this topic
Conclusion Learned about the specific libraries used for Machine Learning
their functions and imported each libraries.
Post Lab Give one characteristic of every library studied
Questions: 1. NumPy:
Efficient numerical computations using multi-dimensional arrays (ndarray)
and mathematical operations.
2. Pandas:
Labeled data manipulation with structures like DataFrame and Series for
handling tabular data.
3. Matplotlib:
Flexible plotting capabilities for creating static, animated, and interactive
visualizations in Python.
4. Seaborn:
Statistical data visualization built on top of Matplotlib with simpler syntax and
beautiful default styles.
5. Scikit-learn (sklearn):
Machine learning algorithms and tools, including classification, regression,
clustering, and preprocessing.
6. TensorFlow:
End-to-end deep learning framework that enables building and training
neural networks at scale.
7. Keras:
High-level neural network API that runs on top of TensorFlow, designed for
easy and fast prototyping.