C
- Represented comparator/dissimilarity calculator type.
Please note that this interface is marked with Beta
annotation, so it can be subject of incompatible
changes or removal in later releases.
@Beta @PublicAPI public interface BinaryVectorMetricFactory<C> extends MetricFactory<C>
Modifier and Type | Interface and Description |
---|---|
static class |
BinaryVectorMetricFactory.ToLinenote<C>
Utility for creating a default linenote.
|
Modifier and Type | Method and Description |
---|---|
C |
forBinaryMetrics(BinaryMetrics metrics)
Creates a new instance according to the given metric.
|
C |
forTversky(TverskyParameters tverskyParamaters)
Creates a new Comparator instance according to the given Tversky metric parameters.
|
C |
forTverskyCoefficients(double coeffQuery,
double coeffTarget)
Creates a new Comparator instance according to the given Tversky metric parameters.
|
comparisonLinenote, defaultComparison
C forBinaryMetrics(BinaryMetrics metrics)
metrics
- binary metricC forTversky(TverskyParameters tverskyParamaters)
tverskyParamaters
- parameters for the comparatorC forTverskyCoefficients(double coeffQuery, double coeffTarget)
coeffQuery
- Query side coefficientcoeffTarget
- Target side coefficient