public static class LeafNode.StringAndFloatLeafNode extends LeafNode.IntAndFloatArrayLeafNode
LeafNode.FeatureVectorLeafNode, LeafNode.FloatLeafNode, LeafNode.IntAndFloatArrayLeafNode, LeafNode.IntArrayLeafNode, LeafNode.LeafType, LeafNode.PdfLeafNode, LeafNode.StringAndFloatLeafNodefloatsdatauniqueLeafId| Constructor and Description |
|---|
LeafNode.StringAndFloatLeafNode(int[] data,
float[] floats) |
| Modifier and Type | Method and Description |
|---|---|
LeafNode.LeafType |
getLeafNodeType()
The type of this leaf node.
|
String |
mostProbableString(FeatureDefinition featureDefinition,
int featureIndex)
Return the most probable value in this leaf, translated into its string representation using the featureIndex'th
feature of the given feature definition.
|
String |
toString() |
eraseData, getFloatData, mostProbableIntfillData, getAllData, getIntData, getNumberOfData, isEmptygetNumberOfNodes, getUniqueLeafId, isLeafNode, setUniqueLeafIdgetDecisionPath, getMother, getNodeIndex, getRootNode, isDecisionNode, isDirectedGraphNode, isRoot, setIsRoot, setMother, toStringpublic LeafNode.StringAndFloatLeafNode(int[] data,
float[] floats)
public String mostProbableString(FeatureDefinition featureDefinition, int featureIndex)
featureDefinition - featureDefinitionfeatureIndex - featureIndexpublic String toString()
toString in class LeafNode.IntAndFloatArrayLeafNodepublic LeafNode.LeafType getLeafNodeType()
LeafNodegetLeafNodeType in class LeafNode.IntAndFloatArrayLeafNodeCopyright © 2000–2016 DFKI GmbH. All rights reserved.