Enum XGBoost.Objective

    • Enum Constant Detail

      • LOGISTIC_REGRESSION_FOR_BINARY_CLASSIFICATION

        public static final XGBoost.Objective LOGISTIC_REGRESSION_FOR_BINARY_CLASSIFICATION
      • LOGIT_RAW_REGRESSION_FOR_BINARY_CLASSIFICATION

        public static final XGBoost.Objective LOGIT_RAW_REGRESSION_FOR_BINARY_CLASSIFICATION
      • HINGE_LOSS_FOR_BINARY_CLASSIFICATION

        public static final XGBoost.Objective HINGE_LOSS_FOR_BINARY_CLASSIFICATION
      • POISSON_REGRESSION_FOR_COUNT_DATA

        public static final XGBoost.Objective POISSON_REGRESSION_FOR_COUNT_DATA
      • SOFTMAX_MULTICLASS_CLASSIFICATION

        public static final XGBoost.Objective SOFTMAX_MULTICLASS_CLASSIFICATION
      • SOFTPROB_MULTICLASS_CLASSIFICATION

        public static final XGBoost.Objective SOFTPROB_MULTICLASS_CLASSIFICATION
      • LAMBDAMART_PAIRWISE_RANKING

        public static final XGBoost.Objective LAMBDAMART_PAIRWISE_RANKING
      • LAMBDAMART_MAXIMISE_NDCG

        public static final XGBoost.Objective LAMBDAMART_MAXIMISE_NDCG
      • LAMBDAMART_MAXIMISE_MAP

        public static final XGBoost.Objective LAMBDAMART_MAXIMISE_MAP
    • Method Detail

      • values

        public static XGBoost.Objective[] 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 (XGBoost.Objective c : XGBoost.Objective.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static XGBoost.Objective 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