ML Ass3
ML Ass3
Assignment-3
SPRING 2025
Department Faculty Total
Program Semester Course Title Instructor Issue Date Due Date
/ Faculty Signature Marks
BS 8
Machine Hira Shafi
FCIT Software
Learning
11/06/2025 18/06/2025 5
Engineering
Instructions
1. This assignment contains 1 Question. Attempt all questions.
2. This assignment should be completed within the in assigned time, after the due time, assignment
will not be accepted.
3. Students of particular course will download assignment and submit solution which will only be
accepted through CMS portal.
4. Please note that copy-paste is a serious nature of academic dishonesty, it is called "Plagiarism"
and the penalties are attached to being found guilty of committing such offenses.
5. It is allowed using lecture notes, books, and other sources, however needing to refer/cite properly.
Reference list must be given at end of the assignment.
6. This assignment should be submitted in PDF file for this purpose first take image of all hand
written pages and then merge using Smartphone app (from PC/Laptop put all images in word file
and save as PDF) including assignment paper in the start of submission.
7. Assignment can be compressed or break in two parts if file size is larger than uploading limit.
8. The font size should be 12 in Times New Roman, Line Space 1.5, Main Heading font size Bold
14, Subheading font size 12 Bold and text font size 12 should be used. All figures and
illustrations should be properly titled or numbered on the left side, below.
9. Also ensure that no part of your assignment has been written by any other person, except to the
extent of collaboration and /or group work.
10. In case of theory, the assignment should not exceed than 1000 words and not less than 600 words.
11. The expected outcome of this assignment follows (C3, PLO-5, CLO-3)
This table is for official use; do not write anything on it.
Question 1 1
Number
Student’s Score
Maximum Score
5 5
Assignment # 3
SPRING 2025
Machine Learning
Expected Outcome: PLO-5 (C3 - Apply)
CLO-3: Apply various techniques and algorithm to model the real world problems into machine
learning techniques
Total (5 marks)
5 marks
Question NO 01: Based on the scenarios given, share your justification as possible:
1. What is the objective of this task? Are we predicting something or discovering patterns?
2. Are there any labels or target outcomes in the dataset?
3. Based on the task and the nature of the data, which type of machine learning approach would
you choose and why?
4. How would you evaluate the quality of the results? (e.g., silhouette score, visual cluster analysis)
5. Can you name at least one algorithm that fits this kind of problem? Why is it appropriate?
Faculty of Computing and Information Technology (FCIT)
Department of Computing Indus University, Karachi
Objective: The goal is to predict a categorical outcome (Pass or Fail), so this is a classification task.
The data is labeled we have input features (e.g., hours studied, attendance rate) and a known outcome (Pass/Fail).
This means it's asupervised learning problem.
3. Which type of machine learning model would you use and why?
5. Can you name at least one algorithm that fits this type of problem?
Other possible algorithms: Decision Tree, Random Forest, or Support Vector Machine (SVM).
Objective: The task aims to discover hidden patterns or groups in user behavior, so this is a case of unsupervised
learning, specifically clustering.
No, the dataset does not include labels or predefined categories for each user. It only contains behavioral metrics.
3. Which type of machine learning approach would you choose and why?
Silhouette Score: Measures how similar an object is to its own cluster compared to others.
Elbow Method: Helps determine the optimal number of clusters (k).
Visual Cluster Analysis: Using PCA or t-SNE to reduce dimensions and visually assess cluster separation.
5. Can you name at least one algorithm that fits this kind of problem?
Other suitable algorithms: DBSCAN, Hierarchical Clustering, Gaussian Mixture Models (GMM).