public class XGTreeVisitor extends XGBoostModelBaseVisitor<DecisionTreeNode>
Constructor and Description |
---|
XGTreeVisitor(Map<String,Integer> dict)
Constructs a new instance of tree visitor.
|
Modifier and Type | Method and Description |
---|---|
DecisionTreeNode |
visitXgTree(XGBoostModelParser.XgTreeContext ctx)
Visit a parse tree produced by
XGBoostModelParser.xgTree() . |
visitXgHeader, visitXgLeaf, visitXgModel, visitXgNode, visitXgValue
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public DecisionTreeNode visitXgTree(XGBoostModelParser.XgTreeContext ctx)
XGBoostModelParser.xgTree()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitXgTree
in interface XGBoostModelVisitor<DecisionTreeNode>
visitXgTree
in class XGBoostModelBaseVisitor<DecisionTreeNode>
ctx
- the parse tree
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024