Documentation of 'edu.uci.jforests.learning.trees.regression.RegressionTree' Java class
RegressionTree
edu.uci.jforests.learning.trees.regression

Class RegressionTree

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class RegressionTree
    extends Tree
    • Constructor Detail

      • RegressionTree

        public RegressionTree()
    • Method Detail

      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • init

        public void init(int maxLeaves,
                         double maxLeafOutput)
      • normalizeNodeNames

        public void normalizeNodeNames()
        Renames node names in the tree to make them as 0, 1, 2, ..., n
      • getLeafOutput

        public double getLeafOutput(int leaf)
      • setLeafOutput

        public void setLeafOutput(int leaf,
                                  double output)
      • multiplyLeafOutputs

        public void multiplyLeafOutputs(double factor)
      • incrementLeafOutputs

        public void incrementLeafOutputs(double constant)
      • getOutput

        public double getOutput(Dataset dataset,
                                int instanceIndex)
      • getOutputs

        public double[] getOutputs(Dataset dataset)
      • split

        public int split(int leaf,
                         TreeSplit split)
        Description copied from class: Tree
        turns a leaf of the tree into an internal node with two leaf-children
        Overrides:
        split in class Tree
      • loadCustomData

        public void loadCustomData(java.lang.String str)
                            throws java.lang.Exception
        Specified by:
        loadCustomData in class Tree
        Throws:
        java.lang.Exception
      • backfit

        public void backfit(Sample sample)
        Specified by:
        backfit in class Tree

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.