Interface AffinityPropagationInitialization<O>

    • 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 relation
        ids - indexed DBIDs
        Returns:
        Similarity matrix
      • getInputTypeRestriction

        TypeInformation getInputTypeRestriction()
        Get the data type information for the similarity computations.
        Returns:
        Data type