dt
Interface Algorithm
-
- All Known Implementing Classes:
- ID3Algorithm
public interface Algorithm
-
-
Method Summary
All Methods Instance Methods Abstract 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)Find the next attribute.
-
-
-
Method Detail
-
nextAttribute
Attribute nextAttribute(java.util.Map<java.lang.String,java.lang.String> chosenAttributes, java.util.Set<java.lang.String> usedAttributes)
Find the next attribute. For the initial attribute, pass an empty chosenAttributes and use the returned attribute as the rootAttribute. Then, walk the decision tree pre-order. At each decision, call this method with the attribute/decision pairs that led to that node in chosenAttributes. Attach the returned Attribute to the decision.
-
-
DMelt 3.0 © DataMelt by jWork.ORG