| Package | Description |
|---|---|
| javatools.datatypes |
| Modifier and Type | Method and Description |
|---|---|
FrequencyVector<T,Double> |
FrequencyVector.maxNormalized()
Max-Normalizes this vector
|
FrequencyVector<T,Double> |
FrequencyVector.normalized()
Normalizes this vector
|
FrequencyVector<T,Double> |
FrequencyVector.normalizedMeanWith(FrequencyVector<T,V> other)
Computes the mean vector of this vector and the other one
|
| Modifier and Type | Method and Description |
|---|---|
double |
FrequencyVector.cosine(FrequencyVector<T,?> other)
Computes the cosine to another vector
|
double |
FrequencyVector.cosine(FrequencyVector<T,?> other,
Collection<T> intersection)
Computes the cosine to another vector, if the intersection is already available
|
double |
FrequencyVector.fuzzyPrecisionWithRespectTo(FrequencyVector<T,V> trueFrequencies)
Computes the fuzzy Precision
|
double |
FrequencyVector.fuzzyRecallWithRespectTo(FrequencyVector<T,V> trueFrequencies)
Computes the fuzzy recall
|
Set<T> |
FrequencyVector.intersection(FrequencyVector<T,?> other)
Computes the common supports
|
double |
FrequencyVector.ndcg2WithRespectToGain(FrequencyVector<T,?> trueFrequencies)
Computes the NDCG with respect to a gain, with weighting 2^x
|
double |
FrequencyVector.ndcgWithRespectToGain(FrequencyVector<T,?> trueFrequencies)
Computes the NDCG with respect to a gain
|
FrequencyVector<T,Double> |
FrequencyVector.normalizedMeanWith(FrequencyVector<T,V> other)
Computes the mean vector of this vector and the other one
|
double |
FrequencyVector.optimalAveragePrecision(FrequencyVector<T,?> trueFrequencies)
Computes the average precision, shuffling subsets to get an optimal value
|
double |
FrequencyVector.precisionAtKWithRespectTo(FrequencyVector<T,?> groundTruth,
int k)
Computes the standard precision at k
|
double |
FrequencyVector.precisionWithRespectTo(FrequencyVector<T,?> trueFrequencies)
Computes the standard precision
|
double |
FrequencyVector.recallAtKWithRespectTo(FrequencyVector<T,V> trueFrequencies,
int k)
Computes the standard recall at k
|
double |
FrequencyVector.recallWithRespectTo(FrequencyVector<T,?> trueFrequencies)
Computes standard recall
|
double |
FrequencyVector.recallWithRespectTo(FrequencyVector<T,?> trueFrequencies,
Collection<T> intersection)
Computes standard recall, if the intersection is already available
|
Set<T> |
FrequencyVector.topKIntersection(FrequencyVector<T,V> trueFrequencies,
int k)
Computes the intersection of the top k elements
|
double |
FrequencyVector.weightedPrecisionAtKWithRespectTo(FrequencyVector<T,?> groundTruth,
int k)
Computes the weighted precision at k
|
double |
FrequencyVector.weightedPrecisionWithRespectTo(FrequencyVector<T,?> trueFrequencies)
Computes the standard precision to a set, weighted with this vector's frequencies
|
double |
FrequencyVector.weightedRecallAtKWithRespectTo(FrequencyVector<T,V> trueFrequencies,
int k)
Computes the standard recall at k, weighted with the true frequencies
|
double |
FrequencyVector.weightedRecallWithRespectTo(FrequencyVector<T,V> trueFrequencies)
Computes the standard recall, weighted with the true frequencies
|
Copyright © 2018. All rights reserved.