de.unihalle.informatik.MiToBo.math.statistics
Enum PCA.ReductionMode

java.lang.Object
  extended by java.lang.Enum<PCA.ReductionMode>
      extended by de.unihalle.informatik.MiToBo.math.statistics.PCA.ReductionMode
All Implemented Interfaces:
Serializable, Comparable<PCA.ReductionMode>
Enclosing class:
PCA

public static enum PCA.ReductionMode
extends Enum<PCA.ReductionMode>

Available modes for determining the sub-space dimensionality.


Enum Constant Summary
NUMBER_COMPONENTS
          Just pick a predefined number of components.
PERCENTAGE_VARIANCE
          Select components containing more than given the percentage of variance.
 
Method Summary
static PCA.ReductionMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PCA.ReductionMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NUMBER_COMPONENTS

public static final PCA.ReductionMode NUMBER_COMPONENTS
Just pick a predefined number of components.


PERCENTAGE_VARIANCE

public static final PCA.ReductionMode PERCENTAGE_VARIANCE
Select components containing more than given the percentage of variance.

Method Detail

values

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

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

valueOf

public static PCA.ReductionMode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.