Modifier and Type | Interface and Description |
---|---|
interface |
WeightLookupTable<T extends SequenceElement>
General weight lookup table
|
Modifier and Type | Class and Description |
---|---|
class |
InMemoryLookupTable<T extends SequenceElement>
Default word lookup table
|
static class |
InMemoryLookupTable.Builder<T extends SequenceElement> |
class |
JointStorage<T extends SequenceElement>
This is going to be primitive implementation of joint WeightLookupTable, used for ParagraphVectors and Word2Vec joint training.
|
static class |
JointStorage.Builder<T extends SequenceElement> |
Modifier and Type | Method and Description |
---|---|
void |
JointStorage.addToken(SequenceElement word) |
Modifier and Type | Interface and Description |
---|---|
interface |
ElementsLearningAlgorithm<T extends SequenceElement>
Implementations of this interface should contain element-related learning algorithms.
|
interface |
SequenceLearningAlgorithm<T extends SequenceElement>
Implementations of this interface should contain sequence-related learning algorithms.
|
Modifier and Type | Class and Description |
---|---|
class |
GloVe<T extends SequenceElement>
GloVe LearningAlgorithm implementation for SequenceVectors
|
static class |
GloVe.Builder<T extends SequenceElement> |
class |
SkipGram<T extends SequenceElement>
Skip-Gram implementation for dl4j SequenceVectors
|
Modifier and Type | Class and Description |
---|---|
class |
DBOW<T extends SequenceElement> |
Modifier and Type | Class and Description |
---|---|
class |
WordVectorsImpl<T extends SequenceElement>
Common word vector operations
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCoOccurrences<T extends SequenceElement>
This class implements building cooccurrence map for abstract training corpus.
|
static class |
AbstractCoOccurrences.Builder<T extends SequenceElement> |
class |
GloveWeightLookupTable<T extends SequenceElement>
Deprecated.
|
static class |
GloveWeightLookupTable.Builder<T extends SequenceElement>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static GloveWeightLookupTable |
GloveWeightLookupTable.load(InputStream is,
VocabCache<? extends SequenceElement> vocab)
Deprecated.
Load a glove model from an input stream.
|
Modifier and Type | Class and Description |
---|---|
class |
ASCIICoOccurrenceReader<T extends SequenceElement> |
class |
ASCIICoOccurrenceWriter<T extends SequenceElement> |
class |
BinaryCoOccurrenceReader<T extends SequenceElement>
Binary implementation of CoOccurenceReader interface, used to provide off-memory storage for cooccurrence maps generated for GloVe
|
class |
BinaryCoOccurrenceWriter<T extends SequenceElement> |
interface |
CoOccurenceReader<T extends SequenceElement>
Created by raver on 24.12.2015.
|
class |
CoOccurrenceWeight<T extends SequenceElement>
Simple POJO holding pairs of elements and their respective weights, used in GloVe -> CoOccurrence
|
interface |
CoOccurrenceWriter<T extends SequenceElement>
Created by fartovii on 25.12.15.
|
class |
CountMap<T extends SequenceElement>
Drop-in replacement for CounterMap
WORK IN PROGRESS, PLEASE DO NOT USE
|
Modifier and Type | Class and Description |
---|---|
class |
SequenceVectors<T extends SequenceElement>
SequenceVectors implements abstract features extraction for Sequences and SequenceElements, using SkipGram, CBOW or DBOW (for Sequence features extraction).
|
static class |
SequenceVectors.Builder<T extends SequenceElement> |
Modifier and Type | Interface and Description |
---|---|
interface |
SequenceIterator<T extends SequenceElement>
SequenceIterator is basic interface for learning abstract data that can be represented as sequence of some elements.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSequenceIterator<T extends SequenceElement>
This is basic generic SequenceIterator implementation
|
static class |
AbstractSequenceIterator.Builder<T extends SequenceElement> |
class |
FilteredSequenceIterator<T extends SequenceElement>
This implementation of SequenceIterator passes each sequence through specified vocabulary, filtering out SequenceElements that are not available in Vocabulary.
|
class |
SynchronizedSequenceIterator<T extends SequenceElement>
Synchronized version of AbstractSeuqenceIterator, implemented on top of it.
|
Modifier and Type | Class and Description |
---|---|
class |
Sequence<T extends SequenceElement>
Sequence for SequenceVectors is defined as limited set of SequenceElements.
|
Modifier and Type | Field and Description |
---|---|
protected T |
Sequence.label |
Modifier and Type | Method and Description |
---|---|
int |
SequenceElement.compareTo(SequenceElement o) |
Modifier and Type | Interface and Description |
---|---|
interface |
SequenceTransformer<T extends SequenceElement,V> |
Modifier and Type | Class and Description |
---|---|
class |
GraphTransformer<T extends SequenceElement,V>
This class is used to build vocabulary out of graph, via abstract GraphWalkIterator
WORK IS IN PROGRESS, DO NOT USE
|
Modifier and Type | Class and Description |
---|---|
class |
VocabWord
Intermediate layers of the neural network
|
Modifier and Type | Method and Description |
---|---|
void |
Huffman.applyIndexes(VocabCache<? extends SequenceElement> cache)
This method updates VocabCache and all it's elements with Huffman indexes
Please note: it should be the same VocabCache as was used for Huffman tree initialization
|
Constructor and Description |
---|
Huffman(Collection<? extends SequenceElement> words) |
Huffman(Collection<? extends SequenceElement> words,
int CODE_LENGTH)
Builds Huffman tree for collection of SequenceElements, with defined CODE_LENGTH
Default CODE_LENGTH is 40
|
Modifier and Type | Method and Description |
---|---|
protected void |
VocabActor.processToken(String token,
Set<String> encountered,
List<SequenceElement> words,
boolean stem) |
Modifier and Type | Interface and Description |
---|---|
interface |
VocabCache<T extends SequenceElement>
A VocabCache handles the storage of information needed for the word2vec look up table.
|
class |
VocabConstructor<T extends SequenceElement>
This class can be used to build joint vocabulary from special sources, that should be treated separately.
|
static class |
VocabConstructor.Builder<T extends SequenceElement> |
Constructor and Description |
---|
VocabularyHolder(VocabCache<? extends SequenceElement> cache,
boolean markAsSpecial)
Builds VocabularyHolder from VocabCache.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCache<T extends SequenceElement>
This is generic VocabCache implementation designed as abstract SequenceElements vocabulary
|
static class |
AbstractCache.Builder<T extends SequenceElement> |
Modifier and Type | Interface and Description |
---|---|
interface |
InvertedIndex<T extends SequenceElement>
An inverted index for mapping words to documents
and documents to words
|
class |
LuceneInvertedIndex<T extends SequenceElement>
Lucene based inverted index
|
static class |
LuceneInvertedIndex.Builder<T extends SequenceElement> |
Copyright © 2016. All Rights Reserved.