public static class GBM.GBMModel extends DTree.TreeModel
DTree.TreeModel.CompressedTree, DTree.TreeModel.TreeStats, DTree.TreeModel.TreeVisitor<T extends java.lang.Exception>
Modifier and Type | Field and Description |
---|---|
static DocGen.FieldDoc[] |
DOC_FIELDS |
Constructor and Description |
---|
GBM.GBMModel(DTree.TreeModel prior,
double err,
ConfusionMatrix cm) |
GBM.GBMModel(DTree.TreeModel prior,
DTree[] trees,
double err,
ConfusionMatrix cm,
DTree.TreeModel.TreeStats tstats) |
GBM.GBMModel(DTree.TreeModel prior,
DTree[] trees,
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 |
toJavaUnifyPreds(SB bodyCtxSB)
Generates code which unify preds[1,...NCLASSES]
|
cm, generateHTML, generateHTMLTreeStats, generateHTMLVarImp, mse, numTrees, score0, toJavaDefaultMaxIters, toJavaFillPreds0, toJavaHtml, toJavaInit, toJavaPredictBody, toJavaTreePredictFct, varimp
adapt, classNames, delete_impl, errStr, getDomainMapping, getDomainMapping, getPrediction, getPrediction, isClassifier, nclasses, responseName, score, score, score, score, score, score0, testJavaScoring, toJava, toJava, toJavaInit, toJavaSuper
delete_and_lock, delete, delete, delete, delete, read_lock, read_lock, unlock, update, write_lock
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public 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(DTree.TreeModel prior, DTree[] trees, double err, ConfusionMatrix cm, DTree.TreeModel.TreeStats tstats)
public GBM.GBMModel(DTree.TreeModel prior, DTree[] trees, DTree.TreeModel.TreeStats tstats)
public GBM.GBMModel(DTree.TreeModel prior, double err, ConfusionMatrix cm)
protected float[] score0(double[] data, float[] preds)
Model
score0
in class DTree.TreeModel
protected void generateModelDescription(java.lang.StringBuilder sb)
generateModelDescription
in class DTree.TreeModel
protected void toJavaUnifyPreds(SB bodyCtxSB)
DTree.TreeModel
toJavaUnifyPreds
in class DTree.TreeModel