public class SlopeDimensionSimilarity extends Object implements DimensionSimilarity<NumberVector<?>>
Modifier and Type | Class and Description |
---|---|
static class |
SlopeDimensionSimilarity.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected static double |
LOG_PRECISION
Precision for entropy normalization.
|
protected static int |
PRECISION
Full precision.
|
protected static double |
RESCALE
Scaling factor.
|
static SlopeDimensionSimilarity |
STATIC
Static instance.
|
Modifier | Constructor and Description |
---|---|
protected |
SlopeDimensionSimilarity()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
computeDimensionSimilarites(Relation<? extends NumberVector<?>> relation,
DBIDs subset,
DimensionSimilarityMatrix matrix)
Compute the dimension similarity matrix
|
public static final SlopeDimensionSimilarity STATIC
protected static final int PRECISION
protected static final double LOG_PRECISION
protected static final double RESCALE
protected SlopeDimensionSimilarity()
public void computeDimensionSimilarites(Relation<? extends NumberVector<?>> relation, DBIDs subset, DimensionSimilarityMatrix matrix)
DimensionSimilarity
computeDimensionSimilarites
in interface DimensionSimilarity<NumberVector<?>>
relation
- Relationsubset
- DBID subset (for sampling / selection)matrix
- Matrix to fill