hex.rf
Class RandomForest
java.lang.Object
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.
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 |
RandomForest
public RandomForest()
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