public abstract static class Model.Output extends Iced
Modifier and Type | Field and Description |
---|---|
Key |
_cross_validation_fold_assignment_frame_id |
Key |
_cross_validation_holdout_predictions_frame_id |
ModelMetrics |
_cross_validation_metrics
Cross-Validation metrics obtained during model training
|
TwoDimTable |
_cross_validation_metrics_summary
Summary of cross-validation metrics of all k-fold models
|
Key[] |
_cross_validation_models
List of Keys to cross-validation models (non-null iff _parms._nfolds > 1 or _parms._fold_column != null)
|
Key[] |
_cross_validation_predictions
List of Keys to cross-validation predictions (if requested)
|
double[] |
_distribution |
java.lang.String[][] |
_domains
Categorical/factor mappings, per column.
|
long |
_end_time |
protected boolean |
_hasFold |
protected boolean |
_hasOffset
The name of the response column (which is always the last column).
|
protected boolean |
_hasWeights |
protected boolean |
_isSupervised |
Job |
_job
Job info: final status (canceled, crashed), build time
|
TwoDimTable |
_model_summary
User-facing model summary - Display model type, complexity, size and other useful stats
|
double[] |
_modelClassDist |
java.lang.String[] |
_names
Columns used in the model and are used to match up with scoring data
columns.
|
java.lang.String[][] |
_origDomains |
java.lang.String[] |
_origNames |
double[] |
_priorClassDist |
long |
_run_time |
TwoDimTable |
_scoring_history
User-facing model scoring history - 2D table with modeling accuracy as a function of time/trees/epochs/iterations, etc.
|
long |
_start_time |
ModelMetrics |
_training_metrics
Training set metrics obtained during model training
|
ModelMetrics |
_validation_metrics
Validation set metrics obtained during model training (if a validation data set was specified)
|
Constructor and Description |
---|
Model.Output() |
Model.Output(boolean hasWeights,
boolean hasOffset,
boolean hasFold) |
Model.Output(ModelBuilder b)
Any final prep-work just before model-building starts, but after the
user has clicked "go".
|
Modifier and Type | Method and Description |
---|---|
ModelMetrics |
addModelMetrics(ModelMetrics mm) |
protected long |
checksum_impl() |
java.lang.String[] |
classNames()
The names of the levels for an categorical response column.
|
void |
clearModelMetrics() |
int |
foldIdx() |
java.lang.String |
foldName() |
hex.ModelCategory |
getModelCategory() |
boolean |
hasFold() |
boolean |
hasOffset() |
boolean |
hasWeights() |
java.lang.String[] |
interactions() |
boolean |
isAutoencoder() |
boolean |
isBinomialClassifier()
Is this model a binomial classification model? (v.
|
boolean |
isClassifier()
Is this model a classification model? (v.
|
boolean |
isSupervised() |
int |
nclasses() |
int |
nfeatures()
Returns number of input features (OK for most supervised methods, need to override for unsupervised!)
|
int |
offsetIdx() |
java.lang.String |
offsetName() |
void |
printTwoDimTables(java.lang.StringBuilder sb,
java.lang.Object o) |
int |
responseIdx() |
java.lang.String |
responseName() |
protected void |
startClock() |
protected void |
stopClock() |
java.lang.String |
toString() |
int |
weightsIdx() |
java.lang.String |
weightsName() |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public java.lang.String[] _names
public java.lang.String[] _origNames
public java.lang.String[][] _domains
public java.lang.String[][] _origDomains
public Key[] _cross_validation_models
public Key[] _cross_validation_predictions
public Key _cross_validation_holdout_predictions_frame_id
public Key _cross_validation_fold_assignment_frame_id
public long _start_time
public long _end_time
public long _run_time
public Job _job
public ModelMetrics _training_metrics
public ModelMetrics _validation_metrics
public ModelMetrics _cross_validation_metrics
public TwoDimTable _cross_validation_metrics_summary
public TwoDimTable _model_summary
public TwoDimTable _scoring_history
protected boolean _isSupervised
protected final boolean _hasOffset
protected final boolean _hasWeights
protected final boolean _hasFold
public double[] _distribution
public double[] _modelClassDist
public double[] _priorClassDist
public Model.Output()
public Model.Output(boolean hasWeights, boolean hasOffset, boolean hasFold)
public Model.Output(ModelBuilder b)
protected void startClock()
protected void stopClock()
public int nfeatures()
public boolean isSupervised()
public boolean hasOffset()
public boolean hasWeights()
public boolean hasFold()
public java.lang.String responseName()
public java.lang.String weightsName()
public java.lang.String offsetName()
public java.lang.String foldName()
public java.lang.String[] interactions()
public int weightsIdx()
public int offsetIdx()
public int foldIdx()
public int responseIdx()
public java.lang.String[] classNames()
public boolean isClassifier()
public boolean isBinomialClassifier()
public int nclasses()
public hex.ModelCategory getModelCategory()
public boolean isAutoencoder()
public ModelMetrics addModelMetrics(ModelMetrics mm)
public void clearModelMetrics()
protected long checksum_impl()
public void printTwoDimTables(java.lang.StringBuilder sb, java.lang.Object o)
public java.lang.String toString()
toString
in class java.lang.Object