Enum CrossValidationCombineMethod

    • Enum Constant Detail

      • WEIGHTED_AVERAGE

        public static final CrossValidationCombineMethod WEIGHTED_AVERAGE
        Calculates the average of the numeric test results weighted by the number of records in each test partitioning. This would be appropriate when combining lift scores.
      • UNWEIGHTED_SUM

        public static final CrossValidationCombineMethod UNWEIGHTED_SUM
        Simply sums the numeric test results. This assumes that the weight has already been incorporated. This would be appropriate when combining log-likelihoods, which for each test partitioning are the sum of the log-likelihoods for each test case.
      • R_SQUARED

        public static final CrossValidationCombineMethod R_SQUARED
        Combines R-squared statistics calculated on different partitions of data.
    • Method Detail

      • values

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

        public static CrossValidationCombineMethod 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