| Package | Description |
|---|---|
| org.openimaj.feature | |
| org.openimaj.knn | |
| org.openimaj.ml.clustering.assignment.hard |
| Modifier and Type | Class and Description |
|---|---|
class |
LongFVComparison
Comparison/distance methods for LongFV objects.
|
| Modifier and Type | Field and Description |
|---|---|
protected LongFVComparator |
LongNearestNeighboursExact.distance |
| Modifier and Type | Method and Description |
|---|---|
LongFVComparator |
LongNearestNeighboursExact.distanceComparator()
Get the distance comparator
|
| Modifier and Type | Method and Description |
|---|---|
static double |
LongNearestNeighbours.distanceFunc(LongFVComparator distance,
long[] qu,
long[] pnt)
Static method to find a distance between
a query vector and a point.
|
static void |
LongNearestNeighbours.distanceFunc(LongFVComparator distance,
long[] qu,
long[][] pnts,
double[] dsq_out)
Static method to find a distance between
a query vector and each of a set of points.
|
| Constructor and Description |
|---|
Factory(LongFVComparator distance)
Construct the factory with the given distance function
for the produced LongNearestNeighbours instances.
|
LongNearestNeighboursExact(long[][] pnts,
LongFVComparator distance)
Construct the LongNearestNeighboursExact over the provided
dataset with the given distance function.
|
| Constructor and Description |
|---|
ExactLongAssigner(CentroidsProvider<long[]> provider,
LongFVComparator comparison)
Construct the assigner using the given cluster data and
distance function.
|
ExactLongAssigner(long[][] data,
LongFVComparator comparison)
Construct the assigner using the given cluster data and
distance function.
|