Serialized Form


Package moj.ri

Class moj.ri.RandomIndex extends java.lang.Object implements Serializable

serialVersionUID: 6735834893960147189L

Serialized Fields

_maxNumThreads

int _maxNumThreads

executor

java.util.concurrent.ExecutorService executor

semaphore

java.util.concurrent.Semaphore semaphore

_sleepFactor

long _sleepFactor

_dimensionality

int _dimensionality
The dimensionality of newly created RandomLabels


_randomDegree

int _randomDegree
Number of non-zeros in newly created RandomLabels


_seed

int _seed
Seed used in conjunction with the word to generate random labels


_leftWindowSize

int _leftWindowSize
Size of the context window to the left of the focus word


_rightWindowSize

int _rightWindowSize
Size of the context window to the right of the focus word


_weightingScheme

WeightingScheme _weightingScheme
Weighting Scheme applied to the context label when a random label's context is updated


_randomIndex

java.util.Map<K,V> _randomIndex
The actual RandomIndex


_vocabulary

java.util.Set<E> _vocabulary
The vocabulary set, if one is used


_wordsIndexed

long _wordsIndexed
The number of word instances indexed so far


_documentsIndexed

long _documentsIndexed
The number of documents indexed so far


_allLowerCase

boolean _allLowerCase
Should indexed words be all lower case?


_unaryLabels

boolean _unaryLabels
Should the random label be unary rather than random?


_documentLabels

boolean _documentLabels
Should indexing be done on document level rather than word context level?


_createAhead

boolean _createAhead
Should RandomLabels be created as new words occur in right context?


_purged

boolean _purged
Have labels been removed from the index?

Class moj.ri.RandomLabel extends java.lang.Object implements Serializable

serialVersionUID: -3048832246809911566L

Serialized Fields

_validState

boolean _validState

_word

java.lang.String _word

_meta_data

java.lang.String _meta_data

_termFrequency

long _termFrequency

_docFrequency

int _docFrequency

_dimensionality

int _dimensionality

_negs

int[] _negs

_poss

int[] _poss

_wordContext

float[] _wordContext

Class moj.ri.SparseDistributedMemory extends RandomIndex implements Serializable

serialVersionUID: 8870868452663269453L


Package moj.ri.weighting

Class moj.ri.weighting.ConstantWS extends WeightingScheme implements Serializable

serialVersionUID: 7346753843545242078L

Class moj.ri.weighting.MangesWS extends WeightingScheme implements Serializable

serialVersionUID: 7346753843545242078L

Class moj.ri.weighting.MartinsWS extends WeightingScheme implements Serializable

serialVersionUID: -8256022455724831455L

Class moj.ri.weighting.PermutatingWS extends WeightingScheme implements Serializable

serialVersionUID: 7346753843545242078L

Class moj.ri.weighting.RosellsWS extends WeightingScheme implements Serializable

serialVersionUID: -7609021184213681797L

Serialized Fields

simWeight

float simWeight

cosine

SimilarityMeasure cosine

Class moj.ri.weighting.WeightingScheme extends java.lang.Object implements Serializable

serialVersionUID: -6781079375065063171L

Serialized Fields

index

RandomIndex index