@Deprecated
public class Word2VecParam
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Word2VecParam.Builder
Deprecated.
|
Constructor and Description |
---|
Word2VecParam(boolean useAdaGrad,
double negative,
int numWords,
org.nd4j.linalg.api.ndarray.INDArray table,
int window,
java.util.concurrent.atomic.AtomicLong nextRandom,
double alpha,
double minAlpha,
int totalWords,
int lastChecked,
org.apache.spark.broadcast.Broadcast<java.util.concurrent.atomic.AtomicLong> wordCount,
InMemoryLookupTable weights,
int vectorLength,
org.apache.spark.broadcast.Broadcast<double[]> expTable)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
getAlpha()
Deprecated.
|
org.apache.spark.broadcast.Broadcast<double[]> |
getExpTable()
Deprecated.
|
int |
getLastChecked()
Deprecated.
|
java.util.concurrent.atomic.AtomicLong |
getLastWords()
Deprecated.
|
static org.slf4j.Logger |
getLog()
Deprecated.
|
double |
getMinAlpha()
Deprecated.
|
double |
getNegative()
Deprecated.
|
java.util.concurrent.atomic.AtomicLong |
getNextRandom()
Deprecated.
|
int |
getNumWords()
Deprecated.
|
org.nd4j.linalg.api.ndarray.INDArray |
getTable()
Deprecated.
|
int |
getTotalWords()
Deprecated.
|
int |
getVectorLength()
Deprecated.
|
InMemoryLookupTable |
getWeights()
Deprecated.
|
int |
getWindow()
Deprecated.
|
org.apache.spark.broadcast.Broadcast<java.util.concurrent.atomic.AtomicLong> |
getWordCount()
Deprecated.
|
java.util.concurrent.atomic.AtomicLong |
getWordsSeen()
Deprecated.
|
boolean |
isUseAdaGrad()
Deprecated.
|
void |
setAlpha(double alpha)
Deprecated.
|
void |
setExpTable(org.apache.spark.broadcast.Broadcast<double[]> expTable)
Deprecated.
|
void |
setLastChecked(int lastChecked)
Deprecated.
|
void |
setLastWords(java.util.concurrent.atomic.AtomicLong lastWords)
Deprecated.
|
void |
setMinAlpha(double minAlpha)
Deprecated.
|
void |
setNegative(double negative)
Deprecated.
|
void |
setNextRandom(java.util.concurrent.atomic.AtomicLong nextRandom)
Deprecated.
|
void |
setNumWords(int numWords)
Deprecated.
|
void |
setTable(org.nd4j.linalg.api.ndarray.INDArray table)
Deprecated.
|
void |
setTotalWords(int totalWords)
Deprecated.
|
void |
setUseAdaGrad(boolean useAdaGrad)
Deprecated.
|
void |
setVectorLength(int vectorLength)
Deprecated.
|
void |
setWeights(InMemoryLookupTable weights)
Deprecated.
|
void |
setWindow(int window)
Deprecated.
|
void |
setWordCount(org.apache.spark.broadcast.Broadcast<java.util.concurrent.atomic.AtomicLong> wordCount)
Deprecated.
|
void |
setWordsSeen(java.util.concurrent.atomic.AtomicLong wordsSeen)
Deprecated.
|
public Word2VecParam(boolean useAdaGrad, double negative, int numWords, org.nd4j.linalg.api.ndarray.INDArray table, int window, java.util.concurrent.atomic.AtomicLong nextRandom, double alpha, double minAlpha, int totalWords, int lastChecked, org.apache.spark.broadcast.Broadcast<java.util.concurrent.atomic.AtomicLong> wordCount, InMemoryLookupTable weights, int vectorLength, org.apache.spark.broadcast.Broadcast<double[]> expTable)
public java.util.concurrent.atomic.AtomicLong getLastWords()
public void setLastWords(java.util.concurrent.atomic.AtomicLong lastWords)
public java.util.concurrent.atomic.AtomicLong getWordsSeen()
public void setWordsSeen(java.util.concurrent.atomic.AtomicLong wordsSeen)
public org.apache.spark.broadcast.Broadcast<double[]> getExpTable()
public void setExpTable(org.apache.spark.broadcast.Broadcast<double[]> expTable)
public boolean isUseAdaGrad()
public void setUseAdaGrad(boolean useAdaGrad)
public double getNegative()
public void setNegative(double negative)
public int getNumWords()
public void setNumWords(int numWords)
public org.nd4j.linalg.api.ndarray.INDArray getTable()
public void setTable(org.nd4j.linalg.api.ndarray.INDArray table)
public int getWindow()
public void setWindow(int window)
public java.util.concurrent.atomic.AtomicLong getNextRandom()
public void setNextRandom(java.util.concurrent.atomic.AtomicLong nextRandom)
public double getAlpha()
public void setAlpha(double alpha)
public double getMinAlpha()
public void setMinAlpha(double minAlpha)
public int getTotalWords()
public void setTotalWords(int totalWords)
public static org.slf4j.Logger getLog()
public int getLastChecked()
public void setLastChecked(int lastChecked)
public org.apache.spark.broadcast.Broadcast<java.util.concurrent.atomic.AtomicLong> getWordCount()
public void setWordCount(org.apache.spark.broadcast.Broadcast<java.util.concurrent.atomic.AtomicLong> wordCount)
public InMemoryLookupTable getWeights()
public void setWeights(InMemoryLookupTable weights)
public int getVectorLength()
public void setVectorLength(int vectorLength)