C# Class Accord.MachineLearning.DecisionTrees.DecisionTreeWriter

Decision Tree C# Writer.
显示文件 Open project: accord-net/framework Class Usage Examples

Public Methods

Method Description
Write ( Accord.MachineLearning.DecisionTrees.DecisionTree tree, string className ) : void

Creates a C# code for the tree.

Private Methods

Method Description
DecisionTreeWriter ( TextWriter writer ) : System

Initializes a new instance of the DecisionTreeWriter class.

create ( Accord.MachineLearning.DecisionTrees.DecisionNode node, int depth ) : void

Method Details

Write() public method

Creates a C# code for the tree.
public Write ( Accord.MachineLearning.DecisionTrees.DecisionTree tree, string className ) : void
tree Accord.MachineLearning.DecisionTrees.DecisionTree
className string
return void