public enum VectorSimilarityMeasures extends Enum<VectorSimilarityMeasures>
Enum Constant and Description |
---|
SIMILARITY_CITY_BLOCK |
SIMILARITY_COOCCURRENCE |
SIMILARITY_COSINE |
SIMILARITY_EUCLIDEAN_DISTANCE |
SIMILARITY_LOGLIKELIHOOD |
SIMILARITY_PEARSON_CORRELATION |
SIMILARITY_TANIMOTO_COEFFICIENT |
Modifier and Type | Method and Description |
---|---|
String |
getClassname() |
static String |
list() |
static VectorSimilarityMeasures |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VectorSimilarityMeasures[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VectorSimilarityMeasures SIMILARITY_COOCCURRENCE
public static final VectorSimilarityMeasures SIMILARITY_LOGLIKELIHOOD
public static final VectorSimilarityMeasures SIMILARITY_TANIMOTO_COEFFICIENT
public static final VectorSimilarityMeasures SIMILARITY_CITY_BLOCK
public static final VectorSimilarityMeasures SIMILARITY_COSINE
public static final VectorSimilarityMeasures SIMILARITY_PEARSON_CORRELATION
public static final VectorSimilarityMeasures SIMILARITY_EUCLIDEAN_DISTANCE
public static VectorSimilarityMeasures[] values()
for (VectorSimilarityMeasures c : VectorSimilarityMeasures.values()) System.out.println(c);
public static VectorSimilarityMeasures 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 String getClassname()
public static String list()
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.