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, Feb 13th.
  • Part 2: Submit kmeans.py and analysis.py with all parts completed by Friday, Feb 17th.
HW4 - Homework 4

Initial Submission by Friday 02/17 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!