Skip to content
VUBuddy

CS628 Assignment 1 Solution Fall 2026

Machine Learning Lesson 5: Unsupervised Learning 20 marks Solution updated 16 Nov 2026

About CS628 Assignment 1

CS628 Assignment No 1 for Fall 2026 is from Machine Learning. It covers lesson 5: Unsupervised Learning, carries 20 marks and closed on VULMS on Friday 20 November 2026. The solution is on this page, with the assignment file.

Course
CS628 Machine Learning
Assignment
Assignment No 1
Semester
Fall 2026
Lesson
5: Unsupervised Learning
Total marks
20
End date
Fri 20 Nov, 11:59 pm

What CS628 Assignment 1 asks

This assignment focuses on fundamental concepts in machine learning, specifically covering data preprocessing, clustering, and regression analysis. Students will apply mathematical calculations to determine cluster assignments and predict outcomes using linear models. Additionally, the assignment explores the theoretical relationship between dimensionality reduction techniques and clustering algorithms. The tasks require applying Euclidean distance, interpreting PCA, and utilizing linear regression equations.

  1. Q1

    6 marks

    Assign the point p = (2, 5) to one of two clusters defined by initial centroids c_1 = (2, 10) and c_2 = (1, 2). You must use the Euclidean distance formula to determine the appropriate cluster for the given point.

  2. Q2

    8 marks

    Explain the role of Principal Component Analysis (PCA) in addressing the challenges associated with K-Means clustering. Specifically, describe how PCA helps overcome limitations when working with high-dimensional datasets.

  3. Q3

    6 marks

    Using the provided linear regression model y = w_0 + w_1 x with given weights w_1 = 0.5816 and w_0 = 32.028, write the final regression equation. Then, calculate the predicted final exam grade for a student who achieved a midterm score of 86.

What to submit
One .doc or .docx file.
Topics covered
Euclidean distance K-Means clustering Principal Component Analysis Simple linear regression Data preprocessing

A summary of the assignment file, Fall 2026_CS628_1.docx. Download the file for the full wording before you start.

Lesson covered

Lesson 5: Unsupervised Learning CS628 · Machine Learning

The questions in this assignment come from this lesson. Read it in the CS628 handout before you open the assignment file, then practise it with the MCQs and past papers.

Solution

The solution for CS628 Assignment No 1 was added on 16 Nov 2026. It answers the questions in the assignment file, Fall 2026_CS628_1.docx.

CS628_Assignment_1_Solution_2026.docx 37 KBAdded 16 Nov 2026Prepared by Malik Musab

Before you submit on VULMS

  1. 1 Solve the questions in the assignment file yourself first, then use the solution to check your method and answers.
  2. 2 Write the final answer in your own words. VU checks assignments for copying, and copied work gets zero marks.
  3. 3 Save your answer in the file type the assignment file asks for, and name it with your student ID, for example BC260012345.
  4. 4 Open the file once more to check it is not empty or corrupted, then upload it on VULMS before 11:59 pm on Fri 20 Nov.

Questions about this assignment

When is CS628 Assignment 1 due?

It closed on Friday 20 November 2026. VULMS no longer accepts files for it, but the assignment stays here for revision.

Is the CS628 Assignment 1 solution free?

The assignment file is free with no limit. The solution counts toward your daily downloads: 3 a day on the web, 30 a day with the free Chrome extension, 100 a day with Pro Semester and unlimited in the Android app.

Can I submit the solution as it is?

No. VU checks assignments for copying, and copied work gets zero marks. Use the solution to check your method, then write your own answer.

What file do I submit?

The assignment file says which file type to upload and lists any extra instructions from your instructor. Name the file with your student ID before you upload it on VULMS.

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.