org.apache.mahout.df.ref
Class SequentialBuilder

java.lang.Object
  extended by org.apache.mahout.df.ref.SequentialBuilder

public class SequentialBuilder
extends java.lang.Object

Builds a Random Decision Forest using a given TreeBuilder to grow the trees


Constructor Summary
SequentialBuilder(java.util.Random rng, TreeBuilder treeBuilder, Data data)
          Constructor
 
Method Summary
 DecisionForest build(int nbTrees, PredictionCallback callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequentialBuilder

public SequentialBuilder(java.util.Random rng,
                         TreeBuilder treeBuilder,
                         Data data)
Constructor

Parameters:
rng - random-numbers generator
treeBuilder - tree builder
data - training data
Method Detail

build

public DecisionForest build(int nbTrees,
                            PredictionCallback callback)


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.