hex.gbm
Class DTree.TreeModel.TreeVisitor<T extends java.lang.Exception>
java.lang.Object
hex.gbm.DTree.TreeModel.TreeVisitor<T>
- Enclosing class:
- DTree.TreeModel
public abstract static class DTree.TreeModel.TreeVisitor<T extends java.lang.Exception>
- extends java.lang.Object
Abstract visitor class for serialized trees.
|
Method Summary |
protected void |
leaf(float pred)
|
protected void |
mid(int col,
float fcmp,
boolean equal)
|
protected void |
post(int col,
float fcmp,
boolean equal)
|
protected void |
pre(int col,
float fcmp,
boolean equal)
|
void |
visit()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tm
protected final DTree.TreeModel _tm
_ct
protected final DTree.TreeModel.CompressedTree _ct
_depth
protected int _depth
DTree.TreeModel.TreeVisitor
public DTree.TreeModel.TreeVisitor(DTree.TreeModel tm,
DTree.TreeModel.CompressedTree ct)
pre
protected void pre(int col,
float fcmp,
boolean equal)
throws T extends java.lang.Exception
- Throws:
T extends java.lang.Exception
mid
protected void mid(int col,
float fcmp,
boolean equal)
throws T extends java.lang.Exception
- Throws:
T extends java.lang.Exception
post
protected void post(int col,
float fcmp,
boolean equal)
throws T extends java.lang.Exception
- Throws:
T extends java.lang.Exception
leaf
protected void leaf(float pred)
throws T extends java.lang.Exception
- Throws:
T extends java.lang.Exception
visit
public final void visit()
throws T extends java.lang.Exception
- Throws:
T extends java.lang.Exception