Klasse QualityMeasureColumnOriented
java.lang.Object
org.deidentifier.arx.aggregates.quality.QualityMeasureColumnOriented
Quality measures for individual attributes. Results are reported in range [0, 1].
Higher is better.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates an empty instanceQualityMeasureColumnOriented(DataHandle handle, int[] indices) Creates a new instance for input dataQualityMeasureColumnOriented(DataHandle handle, int[] indices, double[] minimum, double[] result, double[] maximum) Creates a new instance -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdoubleReturns an aggregate, or NaN if not available.doublegetArithmeticMean(boolean normalizeBeforeAggregation) Returns an aggregate, or NaN if not available.doubleReturns an aggregate, or NaN if not available.doublegetGeometricMean(boolean normalizeBeforeAggregation) Returns an aggregate, or NaN if not available.doublegetMax()Returns an aggregate, or NaN if not available.doublegetMax(boolean normalizeBeforeAggregation) Returns an aggregate, or NaN if not available.doubleReturns the normalized [0, 1] value for the given attribute.booleanisAvailable(String attribute) Returns whether a value is available for the given attribute
-
Konstruktordetails
-
QualityMeasureColumnOriented
public QualityMeasureColumnOriented()Creates an empty instance -
QualityMeasureColumnOriented
Creates a new instance for input data- Parameter:
handle-indices-
-
QualityMeasureColumnOriented
public QualityMeasureColumnOriented(DataHandle handle, int[] indices, double[] minimum, double[] result, double[] maximum) Creates a new instance- Parameter:
handle-indices-minimum-result-maximum-
-
-
Methodendetails
-
getArithmeticMean
public double getArithmeticMean()Returns an aggregate, or NaN if not available. Higher is better.- Gibt zurück:
-
getArithmeticMean
public double getArithmeticMean(boolean normalizeBeforeAggregation) Returns an aggregate, or NaN if not available. Higher is better.- Parameter:
normalizeBeforeAggregation-- Gibt zurück:
-
getGeometricMean
public double getGeometricMean()Returns an aggregate, or NaN if not available. Higher is better.- Gibt zurück:
-
getGeometricMean
public double getGeometricMean(boolean normalizeBeforeAggregation) Returns an aggregate, or NaN if not available. Higher is better.- Parameter:
normalizeBeforeAggregation-- Gibt zurück:
-
getMax
public double getMax()Returns an aggregate, or NaN if not available. Higher is better.- Gibt zurück:
-
getMax
public double getMax(boolean normalizeBeforeAggregation) Returns an aggregate, or NaN if not available. Higher is better.- Parameter:
normalizeBeforeAggregation-- Gibt zurück:
-
getValue
Returns the normalized [0, 1] value for the given attribute. Higher is better.- Parameter:
attribute-- Gibt zurück:
-
isAvailable
Returns whether a value is available for the given attribute- Parameter:
attribute-- Gibt zurück:
-