public static class GBM.GBMModel extends DTree.TreeModel
DTree.TreeModel.CompressedTree, DTree.TreeModel.TreeModelType, DTree.TreeModel.TreeStats, DTree.TreeModel.TreeVisitor<T extends java.lang.Exception>
Model.ModelCategory
Modifier and Type | Field and Description |
---|---|
static DocGen.FieldDoc[] |
DOC_FIELDS |
cmDomain, cms, errs, max_depth, min_rows, N, nbins, testKey, treeKeys, treeStats, validAUC, varimp
_dataKey, _domains, _modelClassDist, _names, _priorClassDist, training_duration_in_ms, training_start_time
Constructor and Description |
---|
GBM.GBMModel(GBM.GBMModel prior,
double err,
ConfusionMatrix cm,
VarImp varimp,
AUC validAUC) |
GBM.GBMModel(GBM.GBMModel prior,
DTree[] trees,
double err,
ConfusionMatrix cm,
DTree.TreeModel.TreeStats tstats) |
GBM.GBMModel(GBM.GBMModel prior,
DTree[] trees,
DTree.TreeModel.TreeStats tstats) |
GBM.GBMModel(GBM job,
Key key,
Key dataKey,
Key testKey,
java.lang.String[] names,
java.lang.String[][] domains,
java.lang.String[] cmDomain,
int ntrees,
int max_depth,
int min_rows,
int nbins,
double learn_rate,
GBM.Family family) |
Modifier and Type | Method and Description |
---|---|
protected void |
generateModelDescription(java.lang.StringBuilder sb) |
GBM |
get_params() |
protected DTree.TreeModel.TreeModelType |
getTreeModelType() |
Request2 |
job() |
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, ctree, delete_impl, delete_trees, delete_trees, generateHTML, generateHTMLAUC, generateHTMLTreeStats, generateHTMLVarImp, mse, ntrees, score0, toJavaDefaultMaxIters, toJavaFillPreds0, toJavaHtml, toJavaInit, toJavaPredictBody, toJavaTreePredictFct, varimp
adapt, calcError, classNames, errStr, getDomainMapping, getDomainMapping, getModelCategory, getUniqueId, isClassifier, missingColumnsType, nclasses, nfeatures, responseName, score, score, score, score, score, score, score0, setModelClassDistribution, start_training, start_training, stop_training, testJavaScoring, toJava, toJava, toJavaInit, toJavaSuper
delete_and_lock, delete, delete, delete, delete, is_unlocked, is_wlocked, read_lock, read_lock, unlock_all, unlock, update, write_lock
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public static DocGen.FieldDoc[] DOC_FIELDS
public GBM.GBMModel(GBM job, Key key, Key dataKey, Key testKey, java.lang.String[] names, java.lang.String[][] domains, java.lang.String[] cmDomain, int ntrees, int max_depth, int min_rows, int nbins, double learn_rate, GBM.Family family)
public GBM.GBMModel(GBM.GBMModel prior, DTree[] trees, double err, ConfusionMatrix cm, DTree.TreeModel.TreeStats tstats)
public GBM.GBMModel(GBM.GBMModel prior, DTree[] trees, DTree.TreeModel.TreeStats tstats)
public GBM.GBMModel(GBM.GBMModel prior, double err, ConfusionMatrix cm, VarImp varimp, AUC validAUC)
public final GBM get_params()
get_params
in class Model
protected DTree.TreeModel.TreeModelType getTreeModelType()
getTreeModelType
in class DTree.TreeModel
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