public class JaccardDistance<T> extends Object implements Distance<T[]>
| Constructor and Description |
|---|
JaccardDistance()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> double |
d(Set<T> a,
Set<T> b)
Returns the Jaccard distance between sets.
|
double |
d(T[] a,
T[] b)
Returns the distance measure between two objects.
|
String |
toString() |
Copyright © 2015. All rights reserved.