Class SplitCriterion

    • Constructor Detail

      • SplitCriterion

        public SplitCriterion()
    • Method Detail

      • splitCritValue

        public double splitCritValue​(Distribution bags)
        Computes result of splitting criterion for given distribution.
        Returns:
        value of splitting criterion. 0 by default
      • splitCritValue

        public double splitCritValue​(Distribution train,
                                     Distribution test)
        Computes result of splitting criterion for given training and test distributions.
        Returns:
        value of splitting criterion. 0 by default
      • splitCritValue

        public double splitCritValue​(Distribution train,
                                     Distribution test,
                                     int noClassesDefault)
        Computes result of splitting criterion for given training and test distributions and given number of classes.
        Returns:
        value of splitting criterion. 0 by default
      • splitCritValue

        public double splitCritValue​(Distribution train,
                                     Distribution test,
                                     Distribution defC)
        Computes result of splitting criterion for given training and test distributions and given default distribution.
        Returns:
        value of splitting criterion. 0 by default