public class QualityMeasureColumnOriented
extends java.lang.Object
Constructor and Description |
---|
QualityMeasureColumnOriented()
Creates an empty instance
|
QualityMeasureColumnOriented(DataHandle handle,
int[] indices)
Creates a new instance for input data
|
QualityMeasureColumnOriented(DataHandle handle,
int[] indices,
double[] minimum,
double[] result,
double[] maximum)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
double |
getArithmeticMean()
Returns an aggregate, or NaN if not available.
|
double |
getArithmeticMean(boolean normalizeBeforeAggregation)
Returns an aggregate, or NaN if not available.
|
double |
getGeometricMean()
Returns an aggregate, or NaN if not available.
|
double |
getGeometricMean(boolean normalizeBeforeAggregation)
Returns an aggregate, or NaN if not available.
|
double |
getMax()
Returns an aggregate, or NaN if not available.
|
double |
getMax(boolean normalizeBeforeAggregation)
Returns an aggregate, or NaN if not available.
|
double |
getValue(java.lang.String attribute)
Returns the normalized [0, 1] value for the given attribute.
|
boolean |
isAvailable(java.lang.String attribute)
Returns whether a value is available for the given attribute
|
public QualityMeasureColumnOriented()
public QualityMeasureColumnOriented(DataHandle handle, int[] indices)
handle
- indices
- public QualityMeasureColumnOriented(DataHandle handle, int[] indices, double[] minimum, double[] result, double[] maximum)
handle
- indices
- minimum
- result
- maximum
- public double getArithmeticMean()
public double getArithmeticMean(boolean normalizeBeforeAggregation)
normalizeBeforeAggregation
- public double getGeometricMean()
public double getGeometricMean(boolean normalizeBeforeAggregation)
normalizeBeforeAggregation
- public double getMax()
public double getMax(boolean normalizeBeforeAggregation)
normalizeBeforeAggregation
- public double getValue(java.lang.String attribute)
attribute
- public boolean isAvailable(java.lang.String attribute)
attribute
-