Click or drag to resize
Accord.NET (logo)

RandomForest Constructor

Creates a new random forest.

Namespace:  Accord.MachineLearning.DecisionTrees
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.7.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