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