Interface RegressionTree.NodeOutput

  • Enclosing class:
    RegressionTree

    public static interface RegressionTree.NodeOutput
    An interface to calculate node output. Note that samples[i] is the number of sampling of dataset[i]. 0 means that the datum is not included and values of greater than 1 are possible because of sampling with replacement.
    • Method Detail

      • calculate

        double calculate​(int[] samples)
        Calculate the node output.
        Parameters:
        samples - the samples in the node.
        Returns:
        the node output