C# Class numl.Supervised.DecisionTree.DecisionTreeModel

Inheritance: Model, IXmlSerializable
显示文件 Open project: sethjuarez/numl

Public Methods

Method Description
DecisionTreeModel ( ) : System

Default constructor.

Predict ( Vector y ) : double

Predicts the given y coordinate.

ToString ( ) : string

Returns a string that represents the current object.

Private Methods

Method Description
PrintNode ( Node n, string pre ) : string

Print node.

WalkNode ( Vector v, Node node ) : double

Walk node.

Method Details

DecisionTreeModel() public method

Default constructor.
public DecisionTreeModel ( ) : System
return System

Predict() public method

Predicts the given y coordinate.
public Predict ( Vector y ) : double
y numl.Math.LinearAlgebra.Vector The Vector to process.
return double

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string