public static class LeafNode.StringAndFloatLeafNode extends LeafNode.IntAndFloatArrayLeafNode
LeafNode.FeatureVectorLeafNode, LeafNode.FloatLeafNode, LeafNode.IntAndFloatArrayLeafNode, LeafNode.IntArrayLeafNode, LeafNode.LeafType, LeafNode.PdfLeafNode, LeafNode.StringAndFloatLeafNode
floats
data
uniqueLeafId
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, mostProbableInt
fillData, getAllData, getIntData, getNumberOfData, isEmpty
getNumberOfNodes, getUniqueLeafId, isLeafNode, setUniqueLeafId
getDecisionPath, getMother, getNodeIndex, getRootNode, isDecisionNode, isDirectedGraphNode, isRoot, setIsRoot, setMother, toString
public LeafNode.StringAndFloatLeafNode(int[] data, float[] floats)
public String mostProbableString(FeatureDefinition featureDefinition, int featureIndex)
featureDefinition
- featureDefinitionfeatureIndex
- featureIndexpublic String toString()
toString
in class LeafNode.IntAndFloatArrayLeafNode
public LeafNode.LeafType getLeafNodeType()
LeafNode
getLeafNodeType
in class LeafNode.IntAndFloatArrayLeafNode
Copyright © 2000–2016 DFKI GmbH. All rights reserved.