Package | Description |
---|---|
org.openimaj.feature | |
org.openimaj.knn | |
org.openimaj.ml.clustering.assignment.hard |
Modifier and Type | Class and Description |
---|---|
class |
IntFVComparison
Comparison/distance methods for IntFV objects.
|
Modifier and Type | Field and Description |
---|---|
protected IntFVComparator |
IntNearestNeighboursExact.distance |
Modifier and Type | Method and Description |
---|---|
IntFVComparator |
IntNearestNeighboursExact.distanceComparator()
Get the distance comparator
|
Modifier and Type | Method and Description |
---|---|
static float |
IntNearestNeighbours.distanceFunc(IntFVComparator distance,
int[] qu,
int[] pnt)
Static method to find a distance between
a query vector and a point.
|
static void |
IntNearestNeighbours.distanceFunc(IntFVComparator distance,
int[] qu,
int[][] 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(IntFVComparator distance)
Construct the factory with the given distance function
for the produced IntNearestNeighbours instances.
|
IntNearestNeighboursExact(int[][] pnts,
IntFVComparator distance)
Construct the IntNearestNeighboursExact over the provided
dataset with the given distance function.
|
Constructor and Description |
---|
ExactIntAssigner(CentroidsProvider<int[]> provider,
IntFVComparator comparison)
Construct the assigner using the given cluster data and
distance function.
|
ExactIntAssigner(int[][] data,
IntFVComparator comparison)
Construct the assigner using the given cluster data and
distance function.
|