Class TreeNode

java.lang.Object
com.yahoo.searchlib.gbdt.TreeNode
Direct Known Subclasses:
FeatureNode, ResponseNode

public abstract class TreeNode extends Object
Author:
bratseth
  • Constructor Details

  • Method Details

    • toRankingExpression

      public abstract String toRankingExpression()
    • samples

      public Optional<Integer> samples()
      Returns the number of samples in the training set that matches this node if this model does not contain this information (i.e if it is not an "ext" model).
    • fromDom

      public static TreeNode fromDom(Node node)