Useful CSE 160 Resources

Overview

In this assignment, you’ll be designing, implementing, and using k-means clustering, a technique often used in machine learning. By the end of this assignment, you will:

  • Be familiar with how to implement a clustering algorithm and use it for data analysis.
  • Write Python code using lists and dictionaries for computational problem solving.

Submission

This homework is split into two parts to help break down the task into more manageable chunks:

  • Part 1: Submit kmeans.py with at least Part 1 completed by Monday, May 1st.
  • Part 2: Submit kmeans.py and analysis.py with all parts completed by Friday, May 5th.
HW4 - Homework 4

Initial Submission by Friday 05/05 at 11:59 pm.

Submit on Gradescope

Subpages

  1. Background - Background information on k-means clustering.
  2. Part 1: The Algorithm - Complete part one of the programming assignment, where you will implement the k-means clustering algorithm.
  3. Part 2: Analysis - Complete part two of the programming assignment, where you will use your algorithm!