Skip to content

Demonstration of using k-Means to cluster images of handwritten digits (MNIST dataset). Source Code for corresponding article on Medium.

Notifications You must be signed in to change notification settings

tschechlovdev/kmeans_MNIST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Applying k-Means on the Image Dataset MNIST

This repository showcases how to apply k-Means on the image dataset MNIST. In particular, how to load the data, apply k-Means, visualize the results, and how to evaluate it.

You can find the corresponding post on Medium here.

Installation

The notebook is written in Python 3.10. I suggest to install Anaconda. To install the same environment you can simply run conda env create -f environment.yml.

Alternatively, you can lookup the dependencies in the environment.yml file and install them, e.g., using pip.

Then just run jupyter-lab and open the kmeans_MNIST.ipynb notebook.

About

Demonstration of using k-Means to cluster images of handwritten digits (MNIST dataset). Source Code for corresponding article on Medium.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published