|
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
)
Public Sub New (
trees As Integer,
inputs As IList(Of DecisionVariable),
classes As Integer
)
Request Example
View SourceParameters
- 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