Optimized k-means clustering

(python version)

Shanshan Wang
shanshan.wang@uni-due.de

Table of Contents

Load data

Define functions

Set parameters

K-means clustering

Before optimization

After optimization

Reference

Shanshan Wang, Michael Schreckenberg and Thomas Guhr, Identifying subdominant collective effects in a large motorway network, J. Stat. Mech. (2022) 113402 https://doi.org/10.1088/1742-5468/ac99d4