Operation |
Details |
public ID3(): |
Sequential |
public DescribeMethod():string |
Sequential Notes: | Get a description for a method instance, for its options etc. Used by stepping. | |
protected BuildSpecific():int |
Sequential Notes: | Main function for building the decision tree.
@returns negative if error, zero if succes | |
protected CompareSplitters( int node, DecTreeSplitter splitter1, DecTreeSplitter splitter2):int |
Sequential Notes: | Compares two splitters which is better.
@returns 1 if splitter1 is better than splitter2, 0 if it is equivalent, -1 else | |
protected GetSplitters( int node):ArrayList |
Sequential Notes: | Returns ArrayList of Spitter class - all available splitters in node.
@returns | |
private SetAverageGain( ArrayList splitters):void |
Sequential Notes: | Count and set the average gain to all the splitters. | |
private AverageEntropy( int node, ID3Splitter sp):double |
Sequential Notes: | Gets an avegare entropy for the node and its splitter.
@returns | |
private Entropy( int node, string where):double |
Sequential Notes: | Gets an entropy for one branch in the node.
@returns | |
private SplitInfo( int node, ID3Splitter sp):double |
Sequential Notes: | Count the split info value. Special value which is higher when the count of branches is bigger.
@returns | |