Package elki.projection
Interface AffinityMatrixBuilder<O>
-
- Type Parameters:
O
- Input relation type
- All Known Implementing Classes:
GaussianAffinityMatrixBuilder
,IntrinsicNearestNeighborAffinityMatrixBuilder
,NearestNeighborAffinityMatrixBuilder
,PerplexityAffinityMatrixBuilder
public interface AffinityMatrixBuilder<O>
Interface for computing an affinity matrix.- Since:
- 0.7.5
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends O>
AffinityMatrixcomputeAffinityMatrix(Relation<T> relation, double initialScale)
Compute the affinity matrix.TypeInformation
getInputTypeRestriction()
Supported input data.
-
-
-
Method Detail
-
computeAffinityMatrix
<T extends O> AffinityMatrix computeAffinityMatrix(Relation<T> relation, double initialScale)
Compute the affinity matrix.- Type Parameters:
T
- Relation type- Parameters:
relation
- Data relationinitialScale
- initial scale- Returns:
- Affinity matrix
-
getInputTypeRestriction
TypeInformation getInputTypeRestriction()
Supported input data.- Returns:
- Input data type information.
-
-