Package | Description |
---|---|
messif.objects.impl |
Implementation of basic data objects.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectIntMultiVectorCosine
Implements the Cosine distance function.
|
class |
ObjectIntMultiVectorJaccard
Implements the Jaccard coefficient distance function.
|
Modifier and Type | Method and Description |
---|---|
ObjectIntMultiVector |
ObjectIntMultiVector.SortedDataIterator.getIteratedObject()
Returns the object this iterator operates on.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends ObjectIntMultiVector> |
ObjectIntMultiVectorCosine.WeightedCosineDistanceFunction.getDistanceObjectClass() |
java.lang.Class<? extends ObjectIntMultiVector> |
ObjectIntMultiVectorJaccard.WeightedJaccardDistanceFunction.getDistanceObjectClass() |
Modifier and Type | Method and Description |
---|---|
float |
ObjectIntMultiVectorCosine.WeightedCosineDistanceFunction.getDistance(ObjectIntMultiVector o1,
ObjectIntMultiVector o2) |
float |
ObjectIntMultiVectorJaccard.WeightedJaccardDistanceFunction.getDistance(ObjectIntMultiVector o1,
ObjectIntMultiVector o2) |
ObjectIntMultiVector.WeightProvider |
MetaObjectProfiSCT.DatabaseSupport.getKeywordWeightProvider(ObjectIntMultiVector keywords,
float[] weights)
Returns the weight provider for keywords based on tf-idf.
|
java.util.Map<java.lang.Integer,java.lang.Float> |
MetaObjectProfiSCT.DatabaseSupport.getKeywordWeights(ObjectIntMultiVector keywords)
Returns weights for keywords based on tf-idf.
|
static float |
ObjectIntMultiVectorCosine.getWeightedCosineDistance(ObjectIntMultiVector o1,
ObjectIntMultiVector.WeightProvider weightProviderO1,
ObjectIntMultiVector o2,
ObjectIntMultiVector.WeightProvider weightProviderO2)
Computes a distance between two
ObjectIntMultiVector s using
a metric weighted cosine distance. |
float |
ObjectIntMultiVectorJaccard.getWeightedJaccardDistance(ObjectIntMultiVector obj,
ObjectIntMultiVector.WeightProvider weightProviderThis,
ObjectIntMultiVector.WeightProvider weightProviderObj)
Implements a non-metric weighted Jaccard coefficient distance function.
|
static float |
ObjectIntMultiVectorJaccard.getWeightedJaccardDistance(ObjectIntMultiVector o1,
ObjectIntMultiVector.WeightProvider weightProviderO1,
ObjectIntMultiVector o2,
ObjectIntMultiVector.WeightProvider weightProviderO2)
Computes a distance between two
ObjectIntMultiVector s using
a non-metric weighted Jaccard coefficient. |
double |
MetaObjectProfiSCT.DatabaseSupport.KeywordWeightProvider.getWeightNorm(ObjectIntMultiVector obj) |
double |
ObjectIntMultiVector.WeightProvider.getWeightNorm(ObjectIntMultiVector obj)
Returns the square root of the sum of all weight squares for the given object.
|
double |
ObjectIntMultiVector.MultiWeightProvider.getWeightNorm(ObjectIntMultiVector obj) |
double |
ObjectIntMultiVector.ArrayMultiWeightProvider.getWeightNorm(ObjectIntMultiVector obj) |
double |
ObjectIntMultiVector.MapMultiWeightProvider.getWeightNorm(ObjectIntMultiVector obj) |
double |
ObjectIntMultiVector.MultiWeightIgnoreProvider.getWeightNorm(ObjectIntMultiVector obj) |
float |
MetaObjectProfiSCT.DatabaseSupport.KeywordWeightProvider.getWeightSum(ObjectIntMultiVector obj) |
float |
ObjectIntMultiVector.WeightProvider.getWeightSum(ObjectIntMultiVector obj)
Returns the sum of all weights for the given object.
|
float |
ObjectIntMultiVector.MultiWeightProvider.getWeightSum(ObjectIntMultiVector obj) |
float |
ObjectIntMultiVector.ArrayMultiWeightProvider.getWeightSum(ObjectIntMultiVector obj) |
float |
ObjectIntMultiVector.MapMultiWeightProvider.getWeightSum(ObjectIntMultiVector obj) |
float |
ObjectIntMultiVector.MultiWeightIgnoreProvider.getWeightSum(ObjectIntMultiVector obj) |
protected void |
MetaObjectProfiSCT.DatabaseSupport.insertWordLinks(int objectId,
ObjectIntMultiVector wordIds)
Insert words link for the given object id.
|
Modifier and Type | Method and Description |
---|---|
static void |
ObjectIntMultiVectorJaccard.addMetaObjectKeywordString(MetaObject metaObject,
java.lang.String jaccardDescriptorName,
TextDescriptorFactory<? extends ObjectIntMultiVector> textDescriptorFactory,
java.lang.String additionalKeywords)
HACK method for adding search keywords to an existing jaccard meta object.
|