hex.rf
Class RandomForest

java.lang.Object
  extended by hex.rf.RandomForest

public class RandomForest
extends java.lang.Object

A RandomForest can be used for growing or validation. The former starts with a known target number of trees, the latter is incrementally populated with trees as they are built. Validation and error reporting is not supported when growing a forest.


Nested Class Summary
static class RandomForest.OptArgs
           
 
Constructor Summary
RandomForest()
           
 
Method Summary
static void build(Job job, DRF.DRFParams drfParams, Data data, int ntrees, int numSplitFeatures, int[] rowsPerChunks)
          Build random forest for data stored on this node.
static void main(java.lang.String[] args)
           
static java.util.Map<java.lang.Integer,java.lang.Integer> parseStrata(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomForest

public RandomForest()
Method Detail

build

public static void build(Job job,
                         DRF.DRFParams drfParams,
                         Data data,
                         int ntrees,
                         int numSplitFeatures,
                         int[] rowsPerChunks)
Build random forest for data stored on this node.


parseStrata

public static java.util.Map<java.lang.Integer,java.lang.Integer> parseStrata(java.lang.String s)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception