Package com.yahoo.searchlib.gbdt
Class NumericFeatureNode
- java.lang.Object
-
- com.yahoo.searchlib.gbdt.TreeNode
-
- com.yahoo.searchlib.gbdt.FeatureNode
-
- com.yahoo.searchlib.gbdt.NumericFeatureNode
-
public final class NumericFeatureNode extends FeatureNode
A GBDT node representing a numeric "less than" comparison: feature < numeric-value- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description NumericFeatureNode(java.lang.String feature, Value value, java.util.Optional<java.lang.Integer> samples, TreeNode left, TreeNode right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
rankingExpressionCondition()
Value
value()
Returns a copy of the array of values in this-
Methods inherited from class com.yahoo.searchlib.gbdt.FeatureNode
feature, fromDom, left, right, toRankingExpression
-
-
-
-
Method Detail
-
value
public Value value()
Returns a copy of the array of values in this
-
rankingExpressionCondition
public java.lang.String rankingExpressionCondition()
- Specified by:
rankingExpressionCondition
in classFeatureNode
-
-