V
- Vector typepublic static class HiSCPreferenceVectorIndex.Factory<V extends NumberVector> extends AbstractPreferenceVectorIndex.Factory<V,HiSCPreferenceVectorIndex<V>>
Modifier and Type | Class and Description |
---|---|
static class |
HiSCPreferenceVectorIndex.Factory.Parameterizer<V extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected double |
alpha
Holds the value of parameter
ALPHA_ID . |
static OptionID |
ALPHA_ID
The maximum absolute variance along a coordinate axis.
|
static double |
DEFAULT_ALPHA
The default value for alpha.
|
protected Integer |
k
Holds the value of parameter
K_ID . |
static OptionID |
K_ID
The number of nearest neighbors considered to determine the preference
vector.
|
Constructor and Description |
---|
HiSCPreferenceVectorIndex.Factory(double alpha,
Integer k)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
HiSCPreferenceVectorIndex<V> |
instantiate(Relation<V> relation)
Instantiate the index for a given database.
|
getInputTypeRestriction
public static final double DEFAULT_ALPHA
public static final OptionID ALPHA_ID
Default value: DEFAULT_ALPHA
Key: -hisc.alpha
public static final OptionID K_ID
Key: -hisc.k
Default value: three times of the dimensionality of the database objects
protected double alpha
ALPHA_ID
.public HiSCPreferenceVectorIndex.Factory(double alpha, Integer k)
alpha
- Alphak
- kpublic HiSCPreferenceVectorIndex<V> instantiate(Relation<V> relation)
PreferenceVectorIndex.Factory
instantiate
in interface IndexFactory<V extends NumberVector,HiSCPreferenceVectorIndex<V extends NumberVector>>
instantiate
in interface PreferenceVectorIndex.Factory<V extends NumberVector,HiSCPreferenceVectorIndex<V extends NumberVector>>
instantiate
in class AbstractPreferenceVectorIndex.Factory<V extends NumberVector,HiSCPreferenceVectorIndex<V extends NumberVector>>
relation
- Relation to useCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.