Modifier and Type | Class and Description |
---|---|
class |
InMemoryLookupTable<T extends SequenceElement>
Default word lookup table
|
class |
JointStorage<T extends SequenceElement>
This is going to be primitive implementation of joint WeightLookupTable, used for ParagraphVectors and Word2Vec joint training.
|
Modifier and Type | Method and Description |
---|---|
WeightLookupTable<T> |
InMemoryLookupTable.Builder.build() |
Modifier and Type | Method and Description |
---|---|
JointStorage.Builder |
JointStorage.Builder.addLookupPair(WeightLookupTable<T> lookupTable,
VocabCache<T> cache)
Adds WeightLookupTable into JointStorage
|
Modifier and Type | Method and Description |
---|---|
void |
SequenceLearningAlgorithm.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
void |
ElementsLearningAlgorithm.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
SkipGram.lookupTable |
Modifier and Type | Method and Description |
---|---|
void |
GloVe.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
void |
SkipGram.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration)
SkipGram initialization over given vocabulary and WeightLookupTable
|
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
DBOW.lookupTable |
Modifier and Type | Method and Description |
---|---|
void |
DBOW.configure(VocabCache<T> vocabCache,
WeightLookupTable<T> lookupTable,
VectorsConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
static WordVectors |
WordVectorSerializer.fromTableAndVocab(WeightLookupTable table,
VocabCache vocab)
Load word vectors for the given vocab and table
|
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
WordVectorsImpl.lookupTable |
Modifier and Type | Method and Description |
---|---|
WeightLookupTable |
WordVectors.lookupTable()
Lookup table for the vectors
|
WeightLookupTable |
WordVectorsImpl.lookupTable() |
Modifier and Type | Method and Description |
---|---|
void |
WordVectorsImpl.setLookupTable(WeightLookupTable lookupTable) |
Modifier and Type | Class and Description |
---|---|
class |
GloveWeightLookupTable<T extends SequenceElement>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Glove.Builder |
Glove.Builder.lookupTable(WeightLookupTable<VocabWord> lookupTable) |
Modifier and Type | Method and Description |
---|---|
ParagraphVectors.Builder |
ParagraphVectors.Builder.lookupTable(WeightLookupTable<VocabWord> lookupTable)
This method allows to define external WeightLookupTable to be used
|
Modifier and Type | Method and Description |
---|---|
RNTN.Builder |
RNTN.Builder.setFeatureVectors(WeightLookupTable<VocabWord> featureVectors) |
Modifier and Type | Field and Description |
---|---|
protected WeightLookupTable<T> |
SequenceVectors.Builder.lookupTable |
Modifier and Type | Method and Description |
---|---|
SequenceVectors.Builder<T> |
SequenceVectors.Builder.lookupTable(WeightLookupTable<T> lookupTable)
You can pass externally built WeightLookupTable, containing model weights and vocabulary.
|
Modifier and Type | Method and Description |
---|---|
Word2Vec.Builder |
Word2Vec.Builder.lookupTable(WeightLookupTable<VocabWord> lookupTable)
This method allows to define external WeightLookupTable to be used
|
Modifier and Type | Method and Description |
---|---|
protected WeightLookupTable<T> |
VocabConstructor.buildExtendedLookupTable()
Placeholder for future implementation
|
Constructor and Description |
---|
Word2VecJobIterator(InvertedIndex invertedIndex,
WeightLookupTable table,
VocabCache cache,
StateTracker stateTracker,
int batchSize) |
Word2VecJobIterator(Iterator<List<List<VocabWord>>> sentenceIterator,
WeightLookupTable table,
VocabCache cache,
StateTracker stateTracker) |
Word2VecJobIterator(Iterator<List<List<VocabWord>>> sentenceIterator,
WeightLookupTable table,
VocabCache cache,
StateTracker stateTracker,
int batchSize) |
Word2VecJobIterator(TextVectorizer textVectorizer,
WeightLookupTable table,
VocabCache cache,
StateTracker stateTracker) |
Word2VecJobIterator(TextVectorizer textVectorizer,
WeightLookupTable table,
VocabCache cache,
StateTracker stateTracker,
int batchSize) |
Copyright © 2016. All Rights Reserved.