Package | Description |
---|---|
org.deeplearning4j.models.glove | |
org.deeplearning4j.scaleout.perform.models.glove |
Modifier and Type | Method and Description |
---|---|
CoOccurrences |
CoOccurrences.Builder.build() |
CoOccurrences |
Glove.getCoOccurrences() |
static CoOccurrences |
CoOccurrences.load(InputStream from)
Load from an input stream with the following format:
w1 w2 score
|
Modifier and Type | Method and Description |
---|---|
Glove.Builder |
Glove.Builder.coOccurrences(CoOccurrences coOccurrences) |
void |
Glove.setCoOccurrences(CoOccurrences coOccurrences) |
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.apache.commons.math3.random.RandomGenerator gen,
boolean shuffle,
long seed,
int numWorkers) |
Constructor and Description |
---|
GloveJobIterator(CoOccurrences coc,
GloveWeightLookupTable table,
VocabCache cache,
org.deeplearning4j.scaleout.api.statetracker.StateTracker stateTracker,
int batchSize) |
Copyright © 2015. All rights reserved.