Class PairSetsIndex


  • @Reference(authors="M. Rezaei and F. Pasi",
               title="Set Matching Measures for External Cluster Validity",
               booktitle="IEEE Transactions on Knowledge and Data Engineering 28(8)",
               url="https://doi.org/10.1109/TKDE.2016.2551240",
               bibkey="DBLP:journals/tkde/RezaeiF16")
    public class PairSetsIndex
    extends java.lang.Object
    The Pair Sets Index calculates an index based on the maximum matching of relative cluster sizes by the Hungarian algorithm.

    Reference:

    M. Rezaei and F. Pasi
    Set Matching Measures for External Cluster Validity
    IEEE Transactions on Knowledge and Data Engineering 28(8)

    Since:
    0.8.0
    Author:
    Robert Gehde
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double psi
      (s - e) / (max(size1,size2) - e)
      protected double simplifiedPSI
      Simplified PSI (with e = 1)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double psi()
      Get the PSI measure.
      double simplifiedPSI()
      Get the simplified PSI value using e = 1
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • simplifiedPSI

        protected double simplifiedPSI
        Simplified PSI (with e = 1)
      • psi

        protected double psi
        (s - e) / (max(size1,size2) - e)
    • Constructor Detail

      • PairSetsIndex

        public PairSetsIndex​(ClusterContingencyTable table)
        Constructor.
        Parameters:
        table - contingency table for PSI calculation
    • Method Detail

      • psi

        public double psi()
        Get the PSI measure.
        Returns:
        the calculated PSI value
      • simplifiedPSI

        public double simplifiedPSI()
        Get the simplified PSI value using e = 1
        Returns:
        the calculated simplified PSI value