Modifier and Type | Method and Description |
---|---|
RNTN.Builder |
RNTN.Builder.setFeatureVectors(Word2Vec vec) |
Modifier and Type | Method and Description |
---|---|
Word2Vec |
Word2Vec.Builder.build() |
Constructor and Description |
---|
SentenceActor(Word2Vec vec) |
Modifier and Type | Method and Description |
---|---|
Word2Vec |
Word2VecDataFetcher.getVec() |
Constructor and Description |
---|
Word2VecDataFetcher(String path,
Word2Vec vec,
List<String> labels) |
Word2VecDataSetIterator(Word2Vec vec,
LabelAwareSentenceIterator iter,
List<String> labels)
Initializes this iterator with homogenization and adding labels
and a batch size of 10
|
Word2VecDataSetIterator(Word2Vec vec,
LabelAwareSentenceIterator iter,
List<String> labels,
int batch)
Initializes this iterator with homogenization and adding labels
|
Word2VecDataSetIterator(Word2Vec vec,
LabelAwareSentenceIterator iter,
List<String> labels,
int batch,
boolean homogenization,
boolean addLabels)
Allows for customization of all of the params of the iterator
|
Modifier and Type | Method and Description |
---|---|
static Word2Vec |
Word2VecLoader.loadGoogleBinary(String path)
Loads the google model
|
Modifier and Type | Method and Description |
---|---|
static void |
InMemoryLookupCache.writeTsneFormat(Word2Vec vec,
org.nd4j.linalg.api.ndarray.INDArray tsne,
File csv) |
Modifier and Type | Method and Description |
---|---|
static double[] |
WindowConverter.asExample(Window window,
Word2Vec vec)
Converts a window (each word in the window)
in to a vector.
|
static org.nd4j.linalg.api.ndarray.INDArray |
WindowConverter.asExampleArray(Window window,
Word2Vec vec,
boolean normalize)
Converts a window (each word in the window)
in to a vector.
|
static org.nd4j.linalg.api.ndarray.INDArray |
WindowConverter.asExampleMatrix(Window window,
Word2Vec vec) |
static org.nd4j.linalg.api.ndarray.INDArray |
WordConverter.toInputMatrix(List<Window> windows,
Word2Vec vec) |
Constructor and Description |
---|
WordConverter(List<String> sentences,
Word2Vec vec) |
Copyright © 2014. All rights reserved.