Interface AMRulesSplitCriterion

    • Method Detail

      • computeBranchSplitMerits

        double[] computeBranchSplitMerits​(double[][] postSplitDists)
      • getMeritOfSplit

        double getMeritOfSplit​(double[] preSplitDist,
                               double[][] postSplitDists)
        Description copied from interface: SplitCriterion
        Computes the merit of splitting for a given ditribution before the split and after it.
        Specified by:
        getMeritOfSplit in interface SplitCriterion
        Parameters:
        preSplitDist - the class distribution before the split
        postSplitDists - the class distribution after the split
        Returns:
        value of the merit of splitting
      • getRangeOfMerit

        double getRangeOfMerit​(double[] preSplitDist)
        Description copied from interface: SplitCriterion
        Computes the range of splitting merit
        Specified by:
        getRangeOfMerit in interface SplitCriterion
        Parameters:
        preSplitDist - the class distribution before the split
        Returns:
        value of the range of splitting merit