|
||||||||||
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.DistributedPearsonCorrelationVectorSimilarity
public class DistributedPearsonCorrelationVectorSimilarity
distributed implementation of the pearson correlation
Constructor Summary | |
---|---|
DistributedPearsonCorrelationVectorSimilarity()
|
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 DistributedPearsonCorrelationVectorSimilarity()
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 |