Enum Class Normalization

java.lang.Object
java.lang.Enum<Normalization>
qupath.lib.classifiers.Normalization
All Implemented Interfaces:
Serializable, Comparable<Normalization>, Constable

public enum Normalization extends Enum<Normalization>
Methods for normalizing features.
Author:
Pete Bankhead
  • Enum Constant Details

    • NONE

      public static final Normalization NONE
      Do not normalize features.
    • MEAN_VARIANCE

      public static final Normalization MEAN_VARIANCE
      Normalize by subtracting the mean and dividing by the standard deviation
    • MIN_MAX

      public static final Normalization MIN_MAX
      Normalize into the range 0-1 using min and max values
  • Method Details

    • values

      public static Normalization[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Normalization valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Normalization>