org.apache.mahout.classifier.df.ref
Class SequentialBuilder
java.lang.Object
org.apache.mahout.classifier.df.ref.SequentialBuilder
public class SequentialBuilder
- extends Object
Builds a Random Decision Forest using a given TreeBuilder to grow the trees
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequentialBuilder
public SequentialBuilder(Random rng,
TreeBuilder treeBuilder,
Data data)
- Constructor
- Parameters:
rng
- random-numbers generatortreeBuilder
- tree builderdata
- training data
build
public DecisionForest build(int nbTrees)
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.