See: Description
| Class | Description |
|---|---|
| KMeansCentriodsOutput |
KMeansCentriodsOutput is used to write the final k centers to file system. |
| KMeansContants | |
| KMeansDataOutput |
KMeansDataOutput is used to save tagged data into HDFS. |
| KMeansMaster |
KMeansMaster computes new k center points for next iteration. |
| KMeansMasterParams |
KMeansMasterParams is the master results for KMeans distributed guagua application. |
| KMeansWorker |
KMeansWorker re-computes each record tagged with new category. |
| KMeansWorkerParams |
KMeansWorkerParams is the worker results for KMeans distributed guagua application. |
| TaggedRecord |
Data records with tag.
|
How to run it, see guagua-client/src/main/bash/demo-mr-kmeans.sh
Copyright © 2019. All Rights Reserved.