|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.hadoop.similarity.vector.AbstractDistributedVectorSimilarity
org.apache.mahout.math.hadoop.similarity.vector.DistributedEuclideanDistanceVectorSimilarity
public class DistributedEuclideanDistanceVectorSimilarity
distributed implementation of euclidean distance as vector similarity measure
Constructor Summary | |
---|---|
DistributedEuclideanDistanceVectorSimilarity()
|
Method Summary | |
---|---|
protected double |
doComputeResult(int rowA,
int rowB,
java.lang.Iterable<Cooccurrence> cooccurrences,
double weightOfVectorA,
double weightOfVectorB,
int numberOfColumns)
do the actual similarity computation |
Methods inherited from class org.apache.mahout.math.hadoop.similarity.vector.AbstractDistributedVectorSimilarity |
---|
countElements, countElements, similarity, weight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistributedEuclideanDistanceVectorSimilarity()
Method Detail |
---|
protected double doComputeResult(int rowA, int rowB, java.lang.Iterable<Cooccurrence> cooccurrences, double weightOfVectorA, double weightOfVectorB, int numberOfColumns)
AbstractDistributedVectorSimilarity
doComputeResult
in class AbstractDistributedVectorSimilarity
DistributedVectorSimilarity.similarity(int, int, Iterable, double, double, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |