BSPPeer<VectorWritable, DoubleWritable, VectorWritable, DoubleWritable, VectorWritable> peer)
throws IOException, SyncException, InterruptedException {
if (theta == null) {
if (master) {
int size = getXSize(peer);
theta = new DenseDoubleVector(size, peer.getConfiguration().getInt(
INITIAL_THETA_VALUES, 1));
broadcastVector(peer, theta.toArray());
if (log.isDebugEnabled()) {
log.debug(new StringBuilder(peer.getPeerName()).append(
": sending theta").toString());