Interface AffinityPropagationInitialization<O>
-
- All Known Implementing Classes:
DistanceBasedInitializationWithMedian
,SimilarityBasedInitializationWithMedian
public interface AffinityPropagationInitialization<O>
Initialization methods for affinity propagation.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static OptionID
QUANTILE_ID
Quantile to use for the diagonal entries.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeInformation
getInputTypeRestriction()
Get the data type information for the similarity computations.double[][]
getSimilarityMatrix(Relation<O> relation, ArrayDBIDs ids)
Compute the initial similarity matrix.
-
-
-
Field Detail
-
QUANTILE_ID
static final OptionID QUANTILE_ID
Quantile to use for the diagonal entries.
-
-
Method Detail
-
getSimilarityMatrix
double[][] getSimilarityMatrix(Relation<O> relation, ArrayDBIDs ids)
Compute the initial similarity matrix.- Parameters:
relation
- Data relationids
- indexed DBIDs- Returns:
- Similarity matrix
-
getInputTypeRestriction
TypeInformation getInputTypeRestriction()
Get the data type information for the similarity computations.- Returns:
- Data type
-
-