Click or drag to resize
Accord.NET (logo)

RandomForest Constructor (Int32, IListDecisionVariable, 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,
	IList<DecisionVariable> inputs,
	int classes
)
Request Example View Source

Parameters

trees
Type: SystemInt32
The number of trees to be added to the forest.
inputs
Type: System.Collections.GenericIListDecisionVariable
An array specifying the attributes to be processed by the trees.
classes
Type: SystemInt32
The number of classes in the classification problem.
See Also