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.


构造方法摘要
LinearRegressionOutput()
           
 
方法摘要
 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.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.