public static class GBM.GBMModel extends DTree.TreeModel
DTree.TreeModel.CompressedTree, DTree.TreeModel.TreeStats, DTree.TreeModel.TreeVisitor<T extends java.lang.Exception>Model.GeneratedModel| Modifier and Type | Field and Description |
|---|---|
static DocGen.FieldDoc[] |
DOC_FIELDS |
| Constructor and Description |
|---|
GBM.GBMModel(GBM.GBMModel prior,
DTree[] trees,
double err,
long[][] cm,
DTree.TreeModel.TreeStats tstats) |
GBM.GBMModel(Key key,
Key dataKey,
Key testKey,
java.lang.String[] names,
java.lang.String[][] domains,
int ntrees,
int max_depth,
int min_rows,
int nbins,
double learn_rate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateModelDescription(java.lang.StringBuilder sb) |
protected float[] |
score0(double[] data,
float[] preds)
Subclasses implement the scoring logic.
|
protected void |
toJavaPredictBody(SB sb,
SB afterBodySb) |
cm, generateHTML, generateHTMLTreeStats, generateHTMLVarImp, numTrees, score0, toJavaHtml, toJavaInit, toJavaTreePredictFct, varimpadapt, classNames, delete, getDomainMapping, isClassifier, nclasses, responseName, score, score, score, score, score, score0, testJavaScoring, toJava, toJava, toJavaInitclone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFieldspublic static DocGen.FieldDoc[] DOC_FIELDS
public GBM.GBMModel(Key key, Key dataKey, Key testKey, java.lang.String[] names, java.lang.String[][] domains, int ntrees, int max_depth, int min_rows, int nbins, double learn_rate)
public GBM.GBMModel(GBM.GBMModel prior, DTree[] trees, double err, long[][] cm, DTree.TreeModel.TreeStats tstats)
protected float[] score0(double[] data,
float[] preds)
Modelscore0 in class DTree.TreeModelprotected void generateModelDescription(java.lang.StringBuilder sb)
generateModelDescription in class DTree.TreeModelprotected void toJavaPredictBody(SB sb, SB afterBodySb)
toJavaPredictBody in class DTree.TreeModel