Klasse MetricSDClassification

Alle implementierten Schnittstellen:
Serializable

public class MetricSDClassification extends AbstractMetricSingleDimensional
This class provides an implementation of the classification metric.
Siehe auch:
  • Methodendetails

    • createMaxInformationLoss

      public ILSingleDimensional createMaxInformationLoss()
      Beschreibung aus Klasse kopiert: Metric
      Returns an instance of the maximal value.
      Setzt außer Kraft:
      createMaxInformationLoss in Klasse AbstractMetricSingleDimensional
      Gibt zurück:
    • createMinInformationLoss

      public ILSingleDimensional createMinInformationLoss()
      Beschreibung aus Klasse kopiert: Metric
      Returns an instance of the minimal value.
      Setzt außer Kraft:
      createMinInformationLoss in Klasse AbstractMetricSingleDimensional
      Gibt zurück:
    • getConfiguration

      public MetricConfiguration getConfiguration()
      Returns the configuration of this metric.
      Setzt außer Kraft:
      getConfiguration in Klasse Metric<ILSingleDimensional>
      Gibt zurück:
    • getPenaltyInfrequentResponse

      public double getPenaltyInfrequentResponse()
      Penalty for records with non-majority response
      Gibt zurück:
      the penaltyDifferentFromMajority
    • getPenaltyNoMajorityResponse

      public double getPenaltyNoMajorityResponse()
      Penalty for records without a majority response
      Gibt zurück:
      the penaltyNoMajority
    • getPenaltySuppressed

      public double getPenaltySuppressed()
      Penalty for suppressed features
      Gibt zurück:
      the penaltySuppressed
    • getScore

      public ILScore getScore(org.deidentifier.arx.framework.lattice.Transformation<?> node, org.deidentifier.arx.framework.check.groupify.HashGroupify groupify)
      Beschreibung aus Klasse kopiert: Metric
      Calculates the score. Note: All score functions are expected to return a score value divided by the sensitivity of the score function.
      Setzt außer Kraft:
      getScore in Klasse Metric<ILSingleDimensional>
      Parameter:
      node -
      groupify -
      Gibt zurück:
    • isGSFactorSupported

      public boolean isGSFactorSupported()
      Beschreibung aus Klasse kopiert: Metric
      Returns whether a generalization/suppression factor is supported
      Setzt außer Kraft:
      isGSFactorSupported in Klasse Metric<ILSingleDimensional>
      Gibt zurück:
    • isScoreFunctionSupported

      public boolean isScoreFunctionSupported()
      Beschreibung aus Klasse kopiert: Metric
      Returns whether the metric provides a score function
      Setzt außer Kraft:
      isScoreFunctionSupported in Klasse Metric<ILSingleDimensional>
      Gibt zurück:
    • render

      public ElementData render(ARXConfiguration config)
      Beschreibung aus Klasse kopiert: Metric
      Renders the privacy model
      Angegeben von:
      render in Klasse Metric<ILSingleDimensional>
      Gibt zurück:
    • toString

      public String toString()
      Beschreibung aus Klasse kopiert: Metric
      Returns the name of metric.
      Setzt außer Kraft:
      toString in Klasse Metric<ILSingleDimensional>
      Gibt zurück: