@Deprecated public class SkipGramRequestMessage extends BaseVoidMessage implements TrainingMessage, RequestMessage
Modifier and Type | Field and Description |
---|---|
protected double |
alpha
Deprecated.
|
protected byte[] |
codes
Deprecated.
|
protected byte |
counter
Deprecated.
|
protected int[] |
negatives
Deprecated.
|
protected short |
negSamples
Deprecated.
|
protected long |
nextRandom
Deprecated.
|
protected int[] |
points
Deprecated.
|
protected int |
w1
Deprecated.
|
protected int |
w2
Deprecated.
|
clipboard, messageType, originatorId, retransmitCount, role, shardIndex, storage, targetId, taskId, trainer, transport, voidConfiguration
Modifier | Constructor and Description |
---|---|
protected |
SkipGramRequestMessage()
Deprecated.
|
|
SkipGramRequestMessage(int w1,
int w2,
int[] points,
byte[] codes,
short negSamples,
double lr,
long nextRandom)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isJoinSupported()
Deprecated.
|
void |
joinMessage(VoidMessage message)
Deprecated.
|
void |
processMessage()
Deprecated.
This method does actual training for SkipGram algorithm
|
asBytes, asUnsafeBuffer, attachContext, extractContext, getMessageType, incrementRetransmitCount, isBlockingMessage
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCounter, getFrameId, setFrameId
asBytes, asUnsafeBuffer, attachContext, extractContext, fromBytes, getMessageType, getOriginatorId, getRetransmitCount, getTargetId, getTaskId, incrementRetransmitCount, isBlockingMessage, setOriginatorId, setTargetId
protected double alpha
protected int w1
protected int w2
protected int[] points
protected byte[] codes
protected int[] negatives
protected short negSamples
protected long nextRandom
protected byte counter
protected SkipGramRequestMessage()
public SkipGramRequestMessage(int w1, int w2, int[] points, byte[] codes, short negSamples, double lr, long nextRandom)
public void processMessage()
processMessage
in interface VoidMessage
public boolean isJoinSupported()
isJoinSupported
in interface VoidMessage
isJoinSupported
in class BaseVoidMessage
public void joinMessage(VoidMessage message)
joinMessage
in interface VoidMessage
joinMessage
in class BaseVoidMessage
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2019. All rights reserved.