Click or drag to resize
Accord.NET (logo)

DecisionTreeToCode Method (String)

Generates a C# class implementing the decision tree.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public string ToCode(
	string className = "MyTree"
)
Request Example View Source

Parameters

className (Optional)
Type: SystemString
The name for the generated class.

Return Value

Type: String
A string containing the generated class.
See Also