Accord.MachineLearning.DecisionTrees.RandomForest.RandomForest C# (CSharp) Method

RandomForest() public method

Creates a new random forest.
public RandomForest ( int trees, int classes ) : System
trees int The number of trees in the forest.
classes int The number of classes in the classification problem.
return System
        public RandomForest(int trees, int classes)
        {
            this.trees = new DecisionTree[trees];
            this.NumberOfOutputs = classes;
        }