Package ml.shifu.guagua.example.lr
Class LogisticRegressionOutput
- java.lang.Object
-
- ml.shifu.guagua.master.BasicMasterInterceptor<LogisticRegressionParams,LogisticRegressionParams>
-
- ml.shifu.guagua.example.lr.LogisticRegressionOutput
-
- All Implemented Interfaces:
ml.shifu.guagua.master.MasterInterceptor<LogisticRegressionParams,LogisticRegressionParams>
public class LogisticRegressionOutput extends ml.shifu.guagua.master.BasicMasterInterceptor<LogisticRegressionParams,LogisticRegressionParams>
LogisticRegressionOutputis used to write the final model output to file system.
-
-
Constructor Summary
Constructors Constructor Description LogisticRegressionOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostApplication(ml.shifu.guagua.master.MasterContext<LogisticRegressionParams,LogisticRegressionParams> context)Get output file setting and write final sum value to HDFS file.
-
-
-
Method Detail
-
postApplication
public void postApplication(ml.shifu.guagua.master.MasterContext<LogisticRegressionParams,LogisticRegressionParams> context)
Get output file setting and write final sum value to HDFS file.- Specified by:
postApplicationin interfaceml.shifu.guagua.master.MasterInterceptor<LogisticRegressionParams,LogisticRegressionParams>- Overrides:
postApplicationin classml.shifu.guagua.master.BasicMasterInterceptor<LogisticRegressionParams,LogisticRegressionParams>
-
-