Class Klosgen

  • All Implemented Interfaces:
    InterestingnessMeasure

    @Reference(authors="W. Kl\u00f6sgen",
               title="Explora: A multipattern and multistrategy discovery assistant",
               booktitle="Advances in Knowledge Discovery and Data Mining",
               bibkey="DBLP:books/mit/fayyadPSU96/Klosgen96")
    public class Klosgen
    extends java.lang.Object
    implements InterestingnessMeasure
    Klösgen interestingness measure.

    \[ \sqrt{\text{support}(X\cup Y)} \left(\text{confidence}(X \rightarrow Y) - \text{support}(Y)\right) = \sqrt{P(X\cap Y)}\left(P(Y|X)-P(Y)\right) \]

    Reference:

    W. Klösgen
    Explora: A multipattern and multistrategy discovery assistant
    Advances in Knowledge Discovery and Data Mining

    Since:
    0.7.5
    Author:
    Frederic Sautter
    • Constructor Summary

      Constructors 
      Constructor Description
      Klosgen()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double measure​(int t, int sX, int sY, int sXY)
      Computes the value of the measure for a given support values
      • Methods inherited from class java.lang.Object

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

      • Klosgen

        public Klosgen()
        Constructor.
    • Method Detail

      • measure

        public double measure​(int t,
                              int sX,
                              int sY,
                              int sXY)
        Description copied from interface: InterestingnessMeasure
        Computes the value of the measure for a given support values
        Specified by:
        measure in interface InterestingnessMeasure
        Parameters:
        t - Total number of transaction
        sX - Support of the antecedent
        sY - Support of the consequent
        sXY - Support of the union of antecedent and consequent
        Returns:
        value of the measure