dt
Class ID3Algorithm
- java.lang.Object
-
- dt.ID3Algorithm
-
-
Constructor Summary
Constructors Constructor and Description ID3Algorithm(dt.Examples examples)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description AttributenextAttribute(java.util.Map<java.lang.String,java.lang.String> chosenAttributes, java.util.Set<java.lang.String> usedAttributes)Returns the next attribute to be chosen.
-
-
-
Method Detail
-
nextAttribute
public Attribute nextAttribute(java.util.Map<java.lang.String,java.lang.String> chosenAttributes, java.util.Set<java.lang.String> usedAttributes)
Returns the next attribute to be chosen. chosenAttributes represents the decision path from the root attribute to the node under consideration. usedAttributes is the set of all attributes that have been incorporated into the tree prior to this call to nextAttribute(), even if the attributes were not used in the path to the node under consideration. Results are undefined if examples.count() == 0.- Specified by:
nextAttributein interfaceAlgorithm
-
-
DMelt 3.0 © DataMelt by jWork.ORG