Package elki.application.experiments
Enum EvaluateIntrinsicDimensionalityEstimators.Aggregate
- java.lang.Object
-
- java.lang.Enum<EvaluateIntrinsicDimensionalityEstimators.Aggregate>
-
- elki.application.experiments.EvaluateIntrinsicDimensionalityEstimators.Aggregate
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EvaluateIntrinsicDimensionalityEstimators.Aggregate>
- Enclosing class:
- EvaluateIntrinsicDimensionalityEstimators
static enum EvaluateIntrinsicDimensionalityEstimators.Aggregate extends java.lang.Enum<EvaluateIntrinsicDimensionalityEstimators.Aggregate>
Aggregation methods.- Author:
- Erich Schubert
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HMEAN
Harmonic mean.MEAN
Aggregate using the mean only.MEAN_STDDEV
Aggregate as mean and standard deviation.MEAN_STDDEV_MIN_MAX
Aggregate as mean and standard deviation.MED_MAD
Aggregate using median and MAD.MED_MAD_MIN_MAX
Aggregate using median and MAD.MEDIAN
Aggregate using median.QUANTILES
Selected quantiles.
-
Constructor Summary
Constructors Modifier Constructor Description private
Aggregate()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract double[]
aggregate(double[] data)
Aggregate values.(package private) abstract java.lang.String[]
description()
Descriptions of the aggregate values.static EvaluateIntrinsicDimensionalityEstimators.Aggregate
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EvaluateIntrinsicDimensionalityEstimators.Aggregate[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEAN
public static final EvaluateIntrinsicDimensionalityEstimators.Aggregate MEAN
Aggregate using the mean only.
-
MEAN_STDDEV
public static final EvaluateIntrinsicDimensionalityEstimators.Aggregate MEAN_STDDEV
Aggregate as mean and standard deviation.
-
MEAN_STDDEV_MIN_MAX
public static final EvaluateIntrinsicDimensionalityEstimators.Aggregate MEAN_STDDEV_MIN_MAX
Aggregate as mean and standard deviation.
-
HMEAN
public static final EvaluateIntrinsicDimensionalityEstimators.Aggregate HMEAN
Harmonic mean.
-
MEDIAN
public static final EvaluateIntrinsicDimensionalityEstimators.Aggregate MEDIAN
Aggregate using median.
-
MED_MAD
public static final EvaluateIntrinsicDimensionalityEstimators.Aggregate MED_MAD
Aggregate using median and MAD.
-
MED_MAD_MIN_MAX
public static final EvaluateIntrinsicDimensionalityEstimators.Aggregate MED_MAD_MIN_MAX
Aggregate using median and MAD.
-
QUANTILES
public static final EvaluateIntrinsicDimensionalityEstimators.Aggregate QUANTILES
Selected quantiles.
-
-
Method Detail
-
values
public static EvaluateIntrinsicDimensionalityEstimators.Aggregate[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EvaluateIntrinsicDimensionalityEstimators.Aggregate c : EvaluateIntrinsicDimensionalityEstimators.Aggregate.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EvaluateIntrinsicDimensionalityEstimators.Aggregate valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
aggregate
abstract double[] aggregate(double[] data)
Aggregate values.- Parameters:
data
- Data to aggregate.- Returns:
- Aggregated values.
-
description
abstract java.lang.String[] description()
Descriptions of the aggregate values.- Returns:
- Descriptions
-
-