@Deprecated public class DistributedCbowDotMessage extends BaseVoidMessage implements DistributedMessage
Modifier and Type | Field and Description |
---|---|
protected float |
alpha
Deprecated.
|
protected byte[] |
codes
Deprecated.
|
protected short |
negSamples
Deprecated.
|
protected int[] |
rowsA
Deprecated.
|
protected int[] |
rowsB
Deprecated.
|
protected boolean |
useHS
Deprecated.
|
protected int |
w1
Deprecated.
|
clipboard, messageType, originatorId, retransmitCount, role, shardIndex, storage, targetId, taskId, trainer, transport, voidConfiguration
Constructor and Description |
---|
DistributedCbowDotMessage()
Deprecated.
|
DistributedCbowDotMessage(long taskId,
int[] rowsA,
int[] rowsB,
int w1,
byte[] codes,
boolean useHS,
short negSamples,
float alpha)
Deprecated.
|
DistributedCbowDotMessage(long taskId,
int rowA,
int rowB)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
processMessage()
Deprecated.
This method calculates dot of gives rows, with averaging applied to rowsA, as required by CBoW
|
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 boolean useHS
protected short negSamples
protected float alpha
protected byte[] codes
public DistributedCbowDotMessage()
@Deprecated public DistributedCbowDotMessage(long taskId, int rowA, int rowB)
public DistributedCbowDotMessage(long taskId, @NonNull int[] rowsA, @NonNull int[] rowsB, int w1, @NonNull byte[] codes, boolean useHS, short negSamples, float alpha)
public void processMessage()
processMessage
in interface VoidMessage
Copyright © 2019. All rights reserved.