class: CART

public class: CART
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 7.12.2005 12:27:54; Modified: 12.12.2005 21:45:54;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {7834E50F-8AB7-43fc-9CD5-DC3C739C0B61}
Concrete method of building a decision tree.

 

Goto: Fields, Methods

Extends: DecTreeMethod

See also: CARTProperties, DecTreeForm, DecTreeMethod, CARTSplitter

Appears in: Algorithm classes

Connections
 
CART Attributes
Attribute Details
private CARTProperties
  Prop
Notes: Properties for this method.

 
CART Methods
Operation Details
public
CART():
Sequential
Notes: Constructor.
public
DescribeMethod():string
Sequential
Tags: override=true
Notes: Get a description for a method instance, for its options etc. Used by stepping.
protected
BuildSpecific():int
Sequential
Tags: override=true
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
Tags: override=true
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
Tags: override=true
Notes: Returns ArrayList of Spitter class - all available splitters in node.

@returns
private
Diversity(
   int node):double
Sequential
Notes: Gets a index of diversity as defined by CART, in node.

@returns
private
Diversity(
   int node,
   string where):double
Sequential
Notes: Gets a index of diversity as defined by CART, in node subset, where "where".

@returns