Skip to content

Code accompanying "Wasserstein k-means++ for Cloud Regime Histogram Clustering"

Notifications You must be signed in to change notification settings

mstaib/cloud-regime-clustering-code

Repository files navigation

Wasserstein k-means++ for Cloud Regime Histogram Clustering

This repository contains the supporting code for the paper:

Staib, Matthew and Jegelka, Stefanie. Wasserstein k-means++ for Cloud Regime Histogram Clustering. In Proceedings of the Seventh International Workshop on Climate Informatics, 2017.

@inproceedings{staib2017wasserstein,
 author = {Staib, Matthew and Jegelka, Stefanie},
 title = {Wasserstein k-means++ for Cloud Regime Histogram Clustering},
 booktitle = {Proceedings of the Seventh International Workshop on Climate
Informatics: CI 2017},
 year = {2017}
}

Dependencies

Getting started

  1. First parse the ICCSP dataset by navigating to the directory with all the .hdf files, then running extract_cloud_histograms
  2. Add the compute-optimal-transport directory to the path, as well as any other third party code (e.g. TFOCS)
  3. Run cluster_histograms which will load the preprocessed ICCSP data and run various clustering algorithms. (be sure to modify the first few lines of cluster_histograms to load the .mat file from step 1, wherever it was stored)

At this point, the figures from the paper can be generated by running

  • weather_state_plots
  • prepare_globe_plots followed by make_globe_plots

About

Code accompanying "Wasserstein k-means++ for Cloud Regime Histogram Clustering"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages