public class FixedCosineSimilarity extends Object implements SimilarityFunction
Modifier and Type | Field and Description |
---|---|
protected double |
fixedMagnitude |
protected Map<String,Double> |
fixedVector |
Constructor and Description |
---|
FixedCosineSimilarity(Map<String,Double> fixedVector) |
protected double fixedMagnitude
protected Map<String,Double> fixedVector
public FixedCosineSimilarity(Map<String,Double> fixedVector)
Copyright © 2014. All rights reserved.