C# Class AIMA.Core.Learning.Inductive.ConstantDecisonTree

Inheritance: DecisionTree
Show file Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
ConstantDecisonTree ( String value ) : System
ToString ( ) : String
ToString ( int depth, StringBuilder buf ) : String
addLeaf ( String attributeValue, String decision ) : void
addNode ( String attributeValue, DecisionTree tree ) : void
predict ( Example e ) : Object

Method Details

ConstantDecisonTree() public method

public ConstantDecisonTree ( String value ) : System
value String
return System

ToString() public method

public ToString ( ) : String
return String

ToString() public method

public ToString ( int depth, StringBuilder buf ) : String
depth int
buf StringBuilder
return String

addLeaf() public method

public addLeaf ( String attributeValue, String decision ) : void
attributeValue String
decision String
return void

addNode() public method

public addNode ( String attributeValue, DecisionTree tree ) : void
attributeValue String
tree DecisionTree
return void

predict() public method

public predict ( Example e ) : Object
e AIMA.Core.Learning.Framework.Example
return Object