public enum KiePMMLAggregateFunction extends Enum<KiePMMLAggregateFunction> implements Named
| Enum Constant and Description |
|---|
BINARY_SIMILARITY |
CHEBYCHEV |
CITY_BLOCK |
EUCLIDEAN |
JACCARD |
MINKOWSKI |
SIMPLE_MATCHING |
SQUARED_EUCLIDEAN |
TANIMOTO |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(List<KiePMMLClusteringField> fields,
KiePMMLCompareFunction defaultCompare,
Double[] inputs,
double[] seeds,
double adjust) |
String |
getName() |
static KiePMMLAggregateFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KiePMMLAggregateFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KiePMMLAggregateFunction EUCLIDEAN
public static final KiePMMLAggregateFunction SQUARED_EUCLIDEAN
public static final KiePMMLAggregateFunction CHEBYCHEV
public static final KiePMMLAggregateFunction CITY_BLOCK
public static final KiePMMLAggregateFunction MINKOWSKI
public static final KiePMMLAggregateFunction SIMPLE_MATCHING
public static final KiePMMLAggregateFunction JACCARD
public static final KiePMMLAggregateFunction TANIMOTO
public static final KiePMMLAggregateFunction BINARY_SIMILARITY
public static KiePMMLAggregateFunction[] values()
for (KiePMMLAggregateFunction c : KiePMMLAggregateFunction.values()) System.out.println(c);
public static KiePMMLAggregateFunction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic double apply(List<KiePMMLClusteringField> fields, KiePMMLCompareFunction defaultCompare, Double[] inputs, double[] seeds, double adjust)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.