CSC 466
Lab 4
Jacob Gold - [email protected]
Kaanan Kharwa - [email protected]
kmeans.py
dbscan.py
hclustering.py
visualize.py
python3 kmeans.py
Required flags:
- [-k] num -> number of clusters
- dataset.csv -> input dataset Optional flags:
- [-c] class -> class label column index
- [-norm] (0,1) -> if 1, normalizes data before computing clusters
- [-h] -> help
python3 dbscan.py
Required flags:
- [-ep] num -> epsilon value for clusters
- [-minPts] num -> minimum points per cluster
- dataset.csv -> input dataset Optional flags:
- [-c] class -> class label column index
- [-norm] (0,1) -> if 1, normalizes data before computing clusters
- [-h] -> help
python3 hclustering.py [-h] dataset.csv
Required flags:
- [-t] num -> threshold value for clusters
- dataset.csv -> input dataset Optional flags:
- [-c] class -> class label column index
- [-norm] (0,1) -> if 1, normalizes data before computing clusters
- [-h] -> help
Compile instructions are n/a, this was our tool to output visualizations for the algorithms