hex.gbm
Class DRF.DRFModel
java.lang.Object
water.Iced
water.Model
hex.gbm.DTree.TreeModel
hex.gbm.DRF.DRFModel
- All Implemented Interfaces:
- java.lang.Cloneable, Freezable
- Enclosing class:
- DRF
public static class DRF.DRFModel
- extends DTree.TreeModel
Nested classes/interfaces inherited from class water.Model |
Model.SB |
Method Summary |
protected float[] |
score0(double[] data,
float[] preds)
Subclasses implement the scoring logic. |
Methods inherited from class water.Model |
adapt, classNames, delete, getDomainMapping, isClassifier, nclasses, responseName, score, score, score, score, score, score0, testJavaScoring, toJava, toJavaInit, toJavaInit |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOC_FIELDS
public static DocGen.FieldDoc[] DOC_FIELDS
DRF.DRFModel
public DRF.DRFModel(Key key,
Key dataKey,
Key testKey,
java.lang.String[] names,
java.lang.String[][] domains,
int ntrees)
DRF.DRFModel
public DRF.DRFModel(DRF.DRFModel prior,
hex.gbm.DTree[] trees,
double err,
long[][] cm)
score0
protected float[] score0(double[] data,
float[] preds)
- Description copied from class:
Model
- Subclasses implement the scoring logic. The data is pre-loaded into a
re-used temp array, in the order the model expects. The predictions are
loaded into the re-used temp array, which is also returned.
- Overrides:
score0
in class DTree.TreeModel