I am working on StreamingLinearRegressionWithSGD
which has two methods trainOn
and predictOn
. This class has a model object that is updated as training data arrives in the stream specified in trainOn
argument.
Simultaneously It give prediction using same model.
I want to know that how the model weights are updated and synchronized across workers/executors.
Any link or reference will be helpful. Thanks.