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