public final class NominalNode extends AbstractTreeNode
| Constructor and Description |
|---|
NominalNode() |
NominalNode(int splitAttributeIndex,
int numCategories) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getType() |
int |
predict(de.jungblut.math.DoubleVector features) |
void |
readFields(DataInput in) |
void |
sortInternal() |
void |
transformToByteCode(org.objectweb.asm.MethodVisitor visitor,
org.objectweb.asm.Label returnLabel)
Transforms this node to byte code, given a visitor that already starts
containing the methods and a label that must be jumped to in case of a
return.
|
protected void |
writeInternal(DataOutput out)
serialize internal state.
|
read, writepublic NominalNode()
public NominalNode(int splitAttributeIndex,
int numCategories)
public void sortInternal()
public int predict(de.jungblut.math.DoubleVector features)
predict in class AbstractTreeNodepublic void transformToByteCode(org.objectweb.asm.MethodVisitor visitor,
org.objectweb.asm.Label returnLabel)
AbstractTreeNodetransformToByteCode in class AbstractTreeNodepublic void readFields(DataInput in) throws IOException
IOExceptionprotected void writeInternal(DataOutput out) throws IOException
AbstractTreeNodewriteInternal in class AbstractTreeNodeIOExceptionpublic byte getType()
getType in class AbstractTreeNodeCopyright © 2016. All rights reserved.