fr.inrialpes.exmo.ontosim.vector
Class JaccardVM
java.lang.Object
fr.inrialpes.exmo.ontosim.vector.VectorMeasure
fr.inrialpes.exmo.ontosim.vector.JaccardVM
- All Implemented Interfaces:
- Measure<double[]>
public class JaccardVM
- extends VectorMeasure
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JaccardVM
public JaccardVM()
getMeasureValue
public double getMeasureValue(double[] v1,
double[] v2)
- Compute jaccard similarity. Do not use frenquency but only presence/lack
- Specified by:
getMeasureValue
in interface Measure<double[]>
- Specified by:
getMeasureValue
in class VectorMeasure
- Parameters:
v1
- v2
-
- Returns:
getDissim
public double getDissim(double[] v1,
double[] v2)
getSim
public double getSim(double[] v1,
double[] v2)
getMType
public Measure.TYPES getMType()
(C) INRIA & friends, 2008-2009