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