Click or drag to resize
Accord.NET (logo)

RandomForest Constructor (Int32, Int32)

Creates a new random forest.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public RandomForest(
	int trees,
	int classes
)
Request Example View Source

Parameters

trees
Type: SystemInt32
The number of trees in the forest.
classes
Type: SystemInt32
The number of classes in the classification problem.
See Also