| Package | Description |
|---|---|
| org.apache.datasketches.tuple |
The tuple package contains implementation of sketches based on the idea of
theta sketches with the addition of values associated with unique keys.
|
| org.apache.datasketches.tuple.adouble | |
| org.apache.datasketches.tuple.aninteger | |
| org.apache.datasketches.tuple.strings |
| Modifier and Type | Method and Description |
|---|---|
static <S extends Summary> |
JaccardSimilarity.dissimilarityTest(Sketch<S> measured,
Sketch<S> expected,
SummarySetOperations<S> summarySetOps,
double threshold)
Tests dissimilarity of a measured Sketch against an expected Sketch.
|
static <S extends Summary> |
JaccardSimilarity.dissimilarityTest(Sketch<S> measured,
Sketch expected,
S summary,
SummarySetOperations<S> summarySetOps,
double threshold)
Tests dissimilarity of a measured Sketch against an expected Sketch.
|
static <S extends Summary> |
JaccardSimilarity.exactlyEqual(Sketch<S> sketchA,
Sketch<S> sketchB,
SummarySetOperations<S> summarySetOps)
Returns true if the two given sketches have exactly the same hash values and the same
theta values.
|
static <S extends Summary> |
JaccardSimilarity.exactlyEqual(Sketch<S> sketchA,
Sketch sketchB,
S summary,
SummarySetOperations<S> summarySetOps)
Returns true if the two given sketches have exactly the same hash values and the same
theta values.
|
static <S extends Summary> |
JaccardSimilarity.jaccard(Sketch<S> sketchA,
Sketch<S> sketchB,
SummarySetOperations<S> summarySetOps)
Computes the Jaccard similarity index with upper and lower bounds.
|
static <S extends Summary> |
JaccardSimilarity.jaccard(Sketch<S> sketchA,
Sketch sketchB,
S summary,
SummarySetOperations<S> summarySetOps)
Computes the Jaccard similarity index with upper and lower bounds.
|
static <S extends Summary> |
JaccardSimilarity.similarityTest(Sketch<S> measured,
Sketch<S> expected,
SummarySetOperations<S> summarySetOps,
double threshold)
Tests similarity of a measured Sketch against an expected Sketch.
|
static <S extends Summary> |
JaccardSimilarity.similarityTest(Sketch<S> measured,
Sketch expected,
S summary,
SummarySetOperations<S> summarySetOps,
double threshold)
Tests similarity of a measured Sketch against an expected Sketch.
|
| Constructor and Description |
|---|
Intersection(SummarySetOperations<S> summarySetOps)
Creates new Intersection instance with instructions on how to process two summaries that
intersect.
|
Union(int nomEntries,
SummarySetOperations<S> summarySetOps)
Creates new Union instance.
|
Union(SummarySetOperations<S> summarySetOps)
Creates new Union instance with instructions on how to process two summaries that
overlap.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DoubleSummarySetOperations
Methods for defining how unions and intersections of two objects of type DoubleSummary
are performed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IntegerSummarySetOperations
Methods for defining how unions and intersections of two objects of type IntegerSummary
are performed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayOfStringsSummarySetOperations |
Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.