/* -------------------------------------------------------------------------- */ /* */ /* DECISION TREE (RANDOM) */ /* */ /* Frans Coenen */ /* */ /* Tuesday 20 November 2007 */ /* */ /* Department of Computer Science */ /* The University of Liverpool */ /* */ /* -------------------------------------------------------------------------- */ /* Generates a decision tree using most frterquent attribute selection as a the splitting criteria. */ //package lucsKDD_ARM; /** decision tree classifier generator (inforamtion gain). @author Frans Coenen @version 20 November 2007 */ public class DecTreeRandom extends DecisionTree { /* ------ CONSTRUCTORS ------ */ /** Constructor with command line arguments to be process. @param args the command line arguments (array of String instances). */ public DecTreeRandom(String[] args) { super(args); } /* ------ METHODS ------ */ /** Selects attribute from attribute list on which to split (stub). @param attributeList the cuttent list of attrbutes. @param exampleList the currebt list of examples. @return the attribute index of the selected attribute. */ protected int selectAttribute(short[] attributeList, int[] exampleList) { return(0); } }