Package | Description |
---|---|
org.deeplearning4j.models.glove | |
org.deeplearning4j.scaleout.perform.models.glove | |
org.deeplearning4j.scaleout.perform.models.glove.iterator |
Modifier and Type | Method and Description |
---|---|
GloveWeightLookupTable |
GloveWeightLookupTable.Builder.build() |
static GloveWeightLookupTable |
GloveWeightLookupTable.load(InputStream is,
VocabCache vocab)
Load a glove model from an input stream.
|
GloveWeightLookupTable |
Glove.lookupTable() |
Modifier and Type | Method and Description |
---|---|
void |
Glove.setLookupTable(GloveWeightLookupTable lookupTable) |
Glove.Builder |
Glove.Builder.weights(GloveWeightLookupTable weightLookupTable) |
Constructor and Description |
---|
Glove(VocabCache cache,
SentenceIterator sentenceIterator,
TextVectorizer textVectorizer,
TokenizerFactory tokenizerFactory,
GloveWeightLookupTable lookupTable,
int layerSize,
double learningRate,
double xMax,
int windowSize,
CoOccurrences coOccurrences,
List<String> stopWords,
boolean stem,
int batchSize,
int minWordFrequency,
double maxCount,
int iterations,
boolean symmetric,
org.nd4j.linalg.api.rng.Random gen,
boolean shuffle,
long seed,
int numWorkers) |
Modifier and Type | Method and Description |
---|---|
static void |
GlovePerformer.configure(GloveWeightLookupTable table,
InvertedIndex index,
org.canova.api.conf.Configuration conf)
Configure the configuration based on the table and index
|
Constructor and Description |
---|
GloveJobIterator(CoOccurrences coc,
GloveWeightLookupTable table,
VocabCache cache,
StateTracker stateTracker,
int batchSize) |
GloveWork(GloveWeightLookupTable table,
List<Pair<VocabWord,VocabWord>> coOccurrences) |
Constructor and Description |
---|
GloveJobIterator(InvertedIndex invertedIndex,
GloveWeightLookupTable table,
VocabCache cache,
StateTracker stateTracker,
int batchSize) |
GloveJobIterator(Iterator<List<List<VocabWord>>> sentenceIterator,
GloveWeightLookupTable table,
VocabCache cache,
StateTracker stateTracker) |
GloveJobIterator(Iterator<List<List<VocabWord>>> sentenceIterator,
GloveWeightLookupTable table,
VocabCache cache,
StateTracker stateTracker,
int batchSize) |
GloveJobIterator(TextVectorizer textVectorizer,
GloveWeightLookupTable table,
VocabCache cache,
StateTracker stateTracker) |
GloveJobIterator(TextVectorizer textVectorizer,
GloveWeightLookupTable table,
VocabCache cache,
StateTracker stateTracker,
int batchSize) |
Copyright © 2015. All Rights Reserved.