ml.shifu.guagua.example.lr
类 LogisticRegressionMaster

java.lang.Object
  继承者 ml.shifu.guagua.example.lr.LogisticRegressionMaster
所有已实现的接口:
ml.shifu.guagua.master.MasterComputable<LogisticRegressionParams,LogisticRegressionParams>

public class LogisticRegressionMaster
extends Object
implements ml.shifu.guagua.master.MasterComputable<LogisticRegressionParams,LogisticRegressionParams>

LogisticRegressionMaster defines logic to update global logistic regression model.

At first iteration, master builds a random model then send to all workers to start computing. This is to make all workers use the same model at the starting time.

At other iterations, master works:


构造方法摘要
LogisticRegressionMaster()
           
 
方法摘要
 LogisticRegressionParams compute(ml.shifu.guagua.master.MasterContext<LogisticRegressionParams,LogisticRegressionParams> context)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

LogisticRegressionMaster

public LogisticRegressionMaster()
方法详细信息

compute

public LogisticRegressionParams compute(ml.shifu.guagua.master.MasterContext<LogisticRegressionParams,LogisticRegressionParams> context)
指定者:
接口 ml.shifu.guagua.master.MasterComputable<LogisticRegressionParams,LogisticRegressionParams> 中的 compute


Copyright © 2015. All Rights Reserved.