public abstract static class SharedTreeModel.SharedTreeOutput
extends hex.Model.Output
Modifier and Type | Field and Description |
---|---|
GLMModel |
_calib_model |
double |
_init_f
InitF value (for zero trees)
f0 = mean(yi) for gaussian
f0 = log(yi/1-yi) for bernoulli
For GBM bernoulli, the initial prediction for 0 trees is
p = 1/(1+exp(-f0))
From this, the mse for 0 trees (null model) can be computed as follows:
mean((yi-p)^2)
|
int |
_ntrees
Number of trees actually in the model (as opposed to requested)
|
hex.ScoreKeeper[] |
_scored_train |
hex.ScoreKeeper[] |
_scored_valid |
long[] |
_training_time_ms
Training time
|
water.Key<CompressedTree>[][] |
_treeKeys
Trees get big, so store each one separately in the DKV.
|
water.Key<CompressedTree>[][] |
_treeKeysAux |
TreeStats |
_treeStats
More indepth tree stats
|
water.util.TwoDimTable |
_variable_importances
Variable importances computed during training
|
hex.VarImp |
_varimp |
_cross_validation_fold_assignment_frame_id, _cross_validation_holdout_predictions_frame_id, _cross_validation_metrics, _cross_validation_metrics_summary, _cross_validation_models, _cross_validation_predictions, _distribution, _domains, _end_time, _hasFold, _hasOffset, _hasWeights, _isSupervised, _job, _model_summary, _modelClassDist, _names, _origDomains, _origNames, _priorClassDist, _run_time, _scoring_history, _start_time, _training_metrics, _validation_metrics
Constructor and Description |
---|
SharedTreeModel.SharedTreeOutput(SharedTree b) |
Modifier and Type | Method and Description |
---|---|
void |
addKTrees(DTree[] trees) |
CompressedTree |
ctree(int tnum,
int knum) |
hex.ScoreKeeper[] |
scoreKeepers() |
java.lang.String |
toStringTree(int tnum,
int knum) |
checksum_impl, classNames, clearModelMetrics, foldIdx, foldName, getModelCategory, getModelMetrics, hasFold, hasOffset, hasWeights, interactions, isAutoencoder, isBinomialClassifier, isClassifier, isSupervised, nclasses, nfeatures, offsetIdx, offsetName, printTwoDimTables, responseIdx, responseName, setNames, startClock, stopClock, toString, weightsIdx, weightsName
public double _init_f
public int _ntrees
public final TreeStats _treeStats
public water.Key<CompressedTree>[][] _treeKeys
public water.Key<CompressedTree>[][] _treeKeysAux
public hex.ScoreKeeper[] _scored_train
public hex.ScoreKeeper[] _scored_valid
public long[] _training_time_ms
public water.util.TwoDimTable _variable_importances
public hex.VarImp _varimp
public GLMModel _calib_model
public SharedTreeModel.SharedTreeOutput(SharedTree b)
public hex.ScoreKeeper[] scoreKeepers()
public void addKTrees(DTree[] trees)
public CompressedTree ctree(int tnum, int knum)
public java.lang.String toStringTree(int tnum, int knum)