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