Klasse RiskModelHistogram

java.lang.Object
org.deidentifier.arx.risk.RiskModelHistogram

public class RiskModelHistogram extends Object
This class encapsulates information about equivalence classes in a data set
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    RiskModelHistogram(com.carrotsearch.hppc.IntIntOpenHashMap distribution)
    Creates a new instance from the given distribution.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    double
    Returns a property of the class distribution
    int[]
    Returns class-size[idx], class-count[idx+1],... ordered ascending by class size
    double
    Returns a property of the class distribution
    double
    Returns a property of the class distribution
    boolean
    Returns whether the histogram is empty

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • RiskModelHistogram

      public RiskModelHistogram(com.carrotsearch.hppc.IntIntOpenHashMap distribution)
      Creates a new instance from the given distribution. IMPORTANT: Suppressed records should have been ignored before calling this.
      Parameter:
      distribution -
  • Methodendetails

    • getAvgClassSize

      public double getAvgClassSize()
      Returns a property of the class distribution
      Gibt zurück:
      the avgClassSize
    • getHistogram

      public int[] getHistogram()
      Returns class-size[idx], class-count[idx+1],... ordered ascending by class size
      Gibt zurück:
      the histogram
    • getNumClasses

      public double getNumClasses()
      Returns a property of the class distribution
      Gibt zurück:
      the numClasses
    • getNumRecords

      public double getNumRecords()
      Returns a property of the class distribution
      Gibt zurück:
      the numRecords
    • isEmpty

      public boolean isEmpty()
      Returns whether the histogram is empty
      Gibt zurück: