Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 599 Bytes

File metadata and controls

23 lines (20 loc) · 599 Bytes

Authors

Alex Pinto, Sebastian Heusinger

needed libraries

  • numpy
  • pandas
  • matplotlib
  • sklearn
  • scipy

k-means Clustering:

  • <stoppage> selects the stoppage condition used. 0 == reasignment; 1 == cluster_centroids; 2 == sse_threshold
  • <threshold> is the threshold for the selected algorithm

if you dont use them the default is sse_threshold and a threshold of 1

python kmeans.py <filepath> <k> [<stoppage> <threshold>]

Hierarchical Clustering:

DBSCAN

python dbscan.py <filepath> <epsilon> <NumPoints> <distance[euclidean|chebyshev|cityblock]>