Changes

Jump to navigation Jump to search
Created page with "{{McNair Projects |Has title=Hierarchical Clustering |Has owner=Kyran Adams, Oliver Chang, |Has start date=12/1/2017 |Has keywords=Cluster, Clustering, Circles, Pain in the as..."
{{McNair Projects
|Has title=Hierarchical Clustering
|Has owner=Kyran Adams, Oliver Chang,
|Has start date=12/1/2017
|Has keywords=Cluster, Clustering, Circles, Pain in the ass, Agglomeration
|Has project status=Active
}}
Code located in <code>E:\McNair\Projects\FastCircles\src</code>.

This code takes a CoLevel master file, clusters points using k (number of clusters) in the range [1, num points / 5), and creates a file output.tsv.

Output.tsv has columns place, statecode, year, layer, cluster, lat, long, coname, datefirstinv. Layer is k, and cluster is the id of the cluster that the point belongs to.

You can run this program with:

<code>python3 main.py</code>
226

edits

Navigation menu