Skip to content

pruskileung/PH-kmeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$k$-means Clustering in Persistent Homology

This git repository contains code for $k$-means clustering for use on persistent homology representations.

Usage

The repository is structed as follows:

  • PD_subsample contains code from PD-subsample, namely the ApproxPH.py script that we use and adapt code from to construct persistence measures and calculate distances between.
  • src contains all code written for this project:
    • data_utils contains scripts generating the simulated data and processing the real-world data used in the project. This directory also contains methods used to clean and process persistent homology representations.
    • pd_pm_kmeans.py contains the persistence diagram and persistence measure $k$-means algorithms.
    • synthetic_data_clustering.ipynb demonstrates how the code was used to generate results on simulated data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published