Package | Description |
---|---|
org.apache.datasketches.tuple |
The tuple package contains a number of sketches based on the same
fundamental algorithms of the Theta Sketch Framework and extend these
concepts for whole new families of sketches.
|
org.apache.datasketches.tuple.adouble |
This package is for a generic implementation of the Tuple sketch for single Double value.
|
org.apache.datasketches.tuple.aninteger |
This package is for a generic implementation of the Tuple sketch for single Integer value.
|
org.apache.datasketches.tuple.strings |
This package is for a generic implementation of the Tuple sketch for single String value.
|
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–2024 The Apache Software Foundation. All rights reserved.