Package | Description |
---|---|
org.openimaj.feature | |
org.openimaj.lsh.functions | |
org.openimaj.ml.clustering.assignment.soft |
Modifier and Type | Method and Description |
---|---|
static ShortFVComparison |
ShortFVComparison.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShortFVComparison[] |
ShortFVComparison.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
double |
MultidimensionalShortFV.compare(MultidimensionalShortFV h,
ShortFVComparison method)
Compare this FV to another with the given method.
|
double |
ShortFV.compare(ShortFV h,
ShortFVComparison method)
Compare this FV to another with the given method.
|
Modifier and Type | Method and Description |
---|---|
protected ShortFVComparison |
ShortGaussianFactory.fvDistanceFunction() |
protected ShortFVComparison |
ShortHyperplaneCosineFactory.fvDistanceFunction() |
protected ShortFVComparison |
ShortHyperplaneL1Factory.fvDistanceFunction() |
ShortFVComparison |
ShortHammingFactory.fvDistanceFunction() |
protected abstract ShortFVComparison |
ShortHashFunctionFactory.fvDistanceFunction() |
protected ShortFVComparison |
ShortCauchyFactory.fvDistanceFunction() |
Constructor and Description |
---|
ShortKNNAssigner(CentroidsProvider<short[]> provider,
ShortFVComparison comparison,
int numNeighbours)
Construct the assigner using the given cluster data and
distance function.
|
ShortKNNAssigner(short[][] data,
ShortFVComparison comparison,
int numNeighbours)
Construct the assigner using the given cluster data and
distance function.
|