ml.shifu.guagua.example.lnr
类 LinearRegressionOutput
java.lang.Object
ml.shifu.guagua.master.BasicMasterInterceptor<LinearRegressionParams,LinearRegressionParams>
ml.shifu.guagua.example.lnr.LinearRegressionOutput
- 所有已实现的接口:
- ml.shifu.guagua.master.MasterInterceptor<LinearRegressionParams,LinearRegressionParams>
public class LinearRegressionOutput
- extends ml.shifu.guagua.master.BasicMasterInterceptor<LinearRegressionParams,LinearRegressionParams>
LinearRegressionOutput is used to write the final model output to file system.
| 从类 ml.shifu.guagua.master.BasicMasterInterceptor 继承的方法 |
postIteration, preApplication, preIteration |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearRegressionOutput
public LinearRegressionOutput()
postApplication
public void postApplication(ml.shifu.guagua.master.MasterContext<LinearRegressionParams,LinearRegressionParams> context)
- Get output file setting and write final sum value to HDFS file.
- 指定者:
- 接口
ml.shifu.guagua.master.MasterInterceptor<LinearRegressionParams,LinearRegressionParams> 中的 postApplication - 覆盖:
- 类
ml.shifu.guagua.master.BasicMasterInterceptor<LinearRegressionParams,LinearRegressionParams> 中的 postApplication
Copyright © 2015. All Rights Reserved.