public class DistributedSgDotMessage extends BaseVoidMessage implements DistributedMessage
Modifier and Type | Field and Description |
---|---|
protected float |
alpha |
protected byte[] |
codes |
protected short |
negSamples |
protected int[] |
rowsA |
protected int[] |
rowsB |
protected boolean |
useHS |
protected int |
w1 |
protected int |
w2 |
clipboard, messageType, originatorId, retransmitCount, role, shardIndex, storage, targetId, taskId, trainer, transport, voidConfiguration
Constructor and Description |
---|
DistributedSgDotMessage() |
DistributedSgDotMessage(long taskId,
int[] rowsA,
int[] rowsB,
int w1,
int w2,
byte[] codes,
boolean useHS,
short negSamples,
float alpha) |
DistributedSgDotMessage(long taskId,
int rowA,
int rowB)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
processMessage()
This method calculates dot of gives rows
|
asBytes, asUnsafeBuffer, attachContext, extractContext, getMessageType, incrementRetransmitCount, isBlockingMessage, isJoinSupported, joinMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asBytes, asUnsafeBuffer, attachContext, extractContext, fromBytes, getMessageType, getOriginatorId, getRetransmitCount, getTargetId, getTaskId, incrementRetransmitCount, isBlockingMessage, isJoinSupported, joinMessage, setOriginatorId, setTargetId
protected int[] rowsA
protected int[] rowsB
protected int w1
protected int w2
protected boolean useHS
protected short negSamples
protected float alpha
protected byte[] codes
public DistributedSgDotMessage()
@Deprecated public DistributedSgDotMessage(long taskId, int rowA, int rowB)
public DistributedSgDotMessage(long taskId, @NonNull int[] rowsA, @NonNull int[] rowsB, int w1, int w2, @NonNull byte[] codes, boolean useHS, short negSamples, float alpha)
public void processMessage()
processMessage
in interface VoidMessage