Package | Description |
---|---|
org.openimaj.knn.pq |
Modifier and Type | Field and Description |
---|---|
protected ByteProductQuantiser |
IncrementalByteADCNearestNeighbours.pq |
protected ByteProductQuantiser |
ByteADCNearestNeighbours.pq |
Modifier and Type | Method and Description |
---|---|
static ByteProductQuantiser |
ByteProductQuantiserUtilities.train(byte[][] data,
int numAssigners,
int nIter)
Learn a
ByteProductQuantiser by applying exact K-Means to
sub-vectors extracted from the given data. |
static ByteProductQuantiser |
ByteProductQuantiserUtilities.train(byte[][] data,
int numAssigners,
int K,
int nIter)
Learn a
ByteProductQuantiser by applying exact K-Means to
sub-vectors extracted from the given data. |
Constructor and Description |
---|
ByteADCNearestNeighbours(ByteProductQuantiser pq,
byte[][] dataPoints)
Construct the ADC with the given quantiser and data points.
|
ByteADCNearestNeighbours(ByteProductQuantiser pq,
byte[][] pqData,
int ndims)
Construct the ADC with the given quantiser and pre-quantised data .
|
ByteSDCNearestNeighbours(ByteProductQuantiser pq,
byte[][][] pqCentroids,
byte[][] dataPoints)
Construct the SDC with the given quantiser, centroids (corresponding to
the quantiser's internal assigners), and data.
|
IncrementalByteADCNearestNeighbours(ByteProductQuantiser pq,
byte[][] dataPoints)
Construct the ADC with the given quantiser and data points.
|
IncrementalByteADCNearestNeighbours(ByteProductQuantiser pq,
DataSource<byte[]> dataPoints)
Construct the ADC with the given quantiser and data points.
|
IncrementalByteADCNearestNeighbours(ByteProductQuantiser pq,
int ndims)
Construct an empty ADC with the given quantiser.
|
IncrementalByteADCNearestNeighbours(ByteProductQuantiser pq,
int ndims,
int nitems)
Construct an empty ADC with the given quantiser.
|
IncrementalByteADCNearestNeighbours(ByteProductQuantiser pq,
List<byte[]> dataPoints)
Construct the ADC with the given quantiser and data points.
|