Skip to content

Instantly share code, notes, and snippets.

@ejcer
Created December 11, 2016 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ejcer/3930f19dd53951f92e85e0e00bf9f117 to your computer and use it in GitHub Desktop.
Save ejcer/3930f19dd53951f92e85e0e00bf9f117 to your computer and use it in GitHub Desktop.
=====================DIFF T, THRESHOLD VALUE=======================
./kmeans -n 4 -t .01 -i ./data/204800.txt
I/O completed
num of threads = 4
# iterations = 18
kmeans_clustering call from cluster.c took 0.428064
entire program clustering in kmeans.c took 0.428187
threshold 0.010000
number of Clusters 5
number of Attributes 34
===================================================================
./kmeans -n 4 -t .001 -i ./data/204800.txt
I/O completed
num of threads = 4
# iterations = 17
kmeans_clustering call from cluster.c took 0.400967
entire program clustering in kmeans.c took 0.401084
threshold 0.001000
number of Clusters 5
number of Attributes 34
================================================================
./kmeans -n 4 -t .0001 -i ./data/204800.txt
I/O completed
num of threads = 4
# iterations = 18
kmeans_clustering call from cluster.c took 0.425267
entire program clustering in kmeans.c took 0.425380
threshold 0.000100
number of Clusters 5
number of Attributes 34
==============================================================
./kmeans -n 4 -t .00001 -i ./data/204800.txt
I/O completed
num of threads = 4
# iterations = 18
kmeans_clustering call from cluster.c took 0.430446
entire program clustering in kmeans.c took 0.430569
threshold 0.000010
number of Clusters 5
number of Attributes 34
==============================================================
./kmeans -n 4 -t .0000001 -i ./data/204800.txt
I/O completed
num of threads = 4
# iterations = 18
kmeans_clustering call from cluster.c took 0.430872
entire program clustering in kmeans.c took 0.430990
threshold 0.000000
number of Clusters 5
number of Attributes 34
==============================================================
./kmeans -n 4 -t .99 -i ./data/204800.txt
I/O completed
num of threads = 4
# iterations = 18
kmeans_clustering call from cluster.c took 0.431301
entire program clustering in kmeans.c took 0.431426
threshold 0.990000
number of Clusters 5
number of Attributes 34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment