tml.corpus
Enum CorpusParameters.DimensionalityReduction

java.lang.Object
  extended by java.lang.Enum<CorpusParameters.DimensionalityReduction>
      extended by tml.corpus.CorpusParameters.DimensionalityReduction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CorpusParameters.DimensionalityReduction>
Enclosing class:
CorpusParameters

public static enum CorpusParameters.DimensionalityReduction
extends java.lang.Enum<CorpusParameters.DimensionalityReduction>

Criteria by which a SemanticSpace will reduce (or not) the dimensions of the space.

Author:
Jorge Villalon

Enum Constant Summary
NO
          No dimensionality reduction will be performed.
NUM
          This method selects the number of dimensions based on a fixed number.
PCT
          This method selects the number of dimensions based on a percentage of the total number of dimensions in the space.
VARPCT
          This method selects the number of dimensions based on how much variance they cover.
 
Method Summary
static CorpusParameters.DimensionalityReduction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CorpusParameters.DimensionalityReduction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VARPCT

public static final CorpusParameters.DimensionalityReduction VARPCT
This method selects the number of dimensions based on how much variance they cover. The threshold is a percentage of the total variance.


NUM

public static final CorpusParameters.DimensionalityReduction NUM
This method selects the number of dimensions based on a fixed number.


PCT

public static final CorpusParameters.DimensionalityReduction PCT
This method selects the number of dimensions based on a percentage of the total number of dimensions in the space.


NO

public static final CorpusParameters.DimensionalityReduction NO
No dimensionality reduction will be performed.

Method Detail

values

public static CorpusParameters.DimensionalityReduction[] 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 (CorpusParameters.DimensionalityReduction c : CorpusParameters.DimensionalityReduction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CorpusParameters.DimensionalityReduction 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 name
java.lang.NullPointerException - if the argument is null