Package ml.shifu.guagua.example.kmeans
Class KMeansCentriodsOutput
- java.lang.Object
-
- ml.shifu.guagua.master.BasicMasterInterceptor<KMeansMasterParams,KMeansWorkerParams>
-
- ml.shifu.guagua.example.kmeans.KMeansCentriodsOutput
-
- All Implemented Interfaces:
ml.shifu.guagua.master.MasterInterceptor<KMeansMasterParams,KMeansWorkerParams>
public class KMeansCentriodsOutput extends ml.shifu.guagua.master.BasicMasterInterceptor<KMeansMasterParams,KMeansWorkerParams>
KMeansCentriodsOutputis used to write the final k centers to file system.
-
-
Constructor Summary
Constructors Constructor Description KMeansCentriodsOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostApplication(ml.shifu.guagua.master.MasterContext<KMeansMasterParams,KMeansWorkerParams> context)
-
-
-
Method Detail
-
postApplication
public void postApplication(ml.shifu.guagua.master.MasterContext<KMeansMasterParams,KMeansWorkerParams> context)
- Specified by:
postApplicationin interfaceml.shifu.guagua.master.MasterInterceptor<KMeansMasterParams,KMeansWorkerParams>- Overrides:
postApplicationin classml.shifu.guagua.master.BasicMasterInterceptor<KMeansMasterParams,KMeansWorkerParams>
-
-