|
DecisionTreeToCode Method (TextWriter, 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 void ToCode(
TextWriter writer,
string className = "MyTree"
)
Public Sub ToCode (
writer As TextWriter,
Optional className As String = "MyTree"
)
Request Example
View SourceParameters
- writer
- Type: System.IOTextWriter
The TextWriter where the class should be written. - className (Optional)
- Type: SystemString
The name for the generated class.
See Also