Enum PredictionType

java.lang.Object
java.lang.Enum<PredictionType>
com.microsoft.ml.lightgbm.PredictionType
All Implemented Interfaces:
Serializable, Comparable<PredictionType>, java.lang.constant.Constable

public enum PredictionType extends Enum<PredictionType>
  • Enum Constant Details

    • C_API_PREDICT_NORMAL

      public static final PredictionType C_API_PREDICT_NORMAL
    • C_API_PREDICT_RAW_SCORE

      public static final PredictionType C_API_PREDICT_RAW_SCORE
    • C_API_PREDICT_LEAF_INDEX

      public static final PredictionType C_API_PREDICT_LEAF_INDEX
    • C_API_PREDICT_CONTRIB

      public static final PredictionType C_API_PREDICT_CONTRIB
  • Method Details

    • values

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

      public static PredictionType 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
    • getType

      public int getType()
    • getDescription

      public String getDescription()
    • equals

      public boolean equals(PredictionType that)
    • toString

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