Welcome to the repository for SPPU BE Computer Semester 8 Lab Code! This repository contains Python-based implementations of lab exercises for two subjects: High Performance Computing (HPC) , Deep Learning (DL) , Software Defined Networks (SDN) , Business Intelligence (BI) . Below, you will find a detailed description of the topics covered in each subject along with small descriptions.
- Objective: Design and implement parallel versions of Breadth First Search (BFS) and Depth First Search (DFS) using Python's
multiprocessing. - Description:
- BFS and DFS are implemented on a tree or an undirected graph.
- Parallelization is achieved using Python's
multiprocessingmodule to distribute tasks across multiple processes.
| OUTPUT |
|---|
![]() |
- Objective: Implement parallel versions of Bubble Sort and Merge Sort using Python's
multiprocessing. - Description:
- Compare the performance of sequential and parallel versions of the algorithms.
- Measure execution time to analyze the speedup achieved through parallelization.
| OUTPUT |
|---|
![]() |
- Objective: Perform parallel reduction operations for computing Min, Max, Sum, and Average.
- Description:
- Use Python's
multiprocessingto perform parallel reduction on arrays. - Demonstrate how reduction operations can be efficiently parallelized.
- Use Python's
| OUTPUT |
|---|
![]() |
- Objective: Implement vector addition for large vectors using CUDA Python (
numba.cuda). - Description:
- Utilize GPU parallelism to add two large vectors.
- Compare the performance with CPU-based implementation.
- Objective: Implement matrix multiplication using CUDA Python (
numba.cuda). - Description:
- Leverage GPU threads to perform matrix multiplication in parallel.
- Analyze the performance improvement over sequential matrix multiplication.
| OUTPUT |
|---|
![]() |
- Objective: Predict Boston housing prices using a Deep Neural Network (DNN).
- Description:
- Use the Boston Housing Price Prediction dataset.
- Build a DNN model to perform linear regression and predict house prices.
- Objective: Classify movie reviews as "positive" or "negative" using a DNN.
- Description:
- Use the IMDB dataset containing movie reviews.
- Train a binary classification model to classify reviews based on text content.
- Objective: Design a plant disease detection system using a CNN.
- Description:
- Use a dataset of plant images with various diseases.
- Train a CNN model to detect and classify plant diseases.
- Objective: Create a classifier to categorize fashion clothing using CNN.
- Description:
- Use the MNIST Fashion dataset.
- Train a CNN model to classify clothing items into categories like T-shirt, Dress, etc.
- Objective: Design a time series analysis and prediction system for Google stock prices using RNN.
- Description:
- Use the Google stock prices dataset.
- Train an RNN model to analyze historical data and predict future stock prices.
- Python Environment: For all programs, set up Python with libraries like TensorFlow, Keras, NumPy, Pandas, and Matplotlib.
- CUDA Toolkit: For CUDA programs, install the CUDA toolkit and compatible GPU drivers.
- Datasets: Download datasets from official sources (e.g., Boston Housing, IMDB, MNIST Fashion, Google Stock Prices).
-
Clone this repository:
git clone https://github.com/yourusername/SPPU-BE-COMPUTER-LAB-CODE-SEM-8.git cd SPPU-BE-COMPUTER-LAB-CODE-SEM-8 -
Install dependencies:
- For Python:
pip install tensorflow keras numpy pandas matplotlib scikit-learn numba cudatoolkit
- For Python:
-
Run the programs:
- Run Python scripts directly:
python script_name.py
- Or use Jupyter notebooks:
jupyter notebook
- Run Python scripts directly:
Happy Coding! π



