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:
| Constructor and Description |
|---|
LogisticRegressionMaster() |
| Modifier and Type | Method and Description |
|---|---|
LogisticRegressionParams |
compute(ml.shifu.guagua.master.MasterContext<LogisticRegressionParams,LogisticRegressionParams> context) |
public LogisticRegressionParams compute(ml.shifu.guagua.master.MasterContext<LogisticRegressionParams,LogisticRegressionParams> context)
compute in interface ml.shifu.guagua.master.MasterComputable<LogisticRegressionParams,LogisticRegressionParams>Copyright © 2015. All Rights Reserved.