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