public abstract static class Model.Output extends Iced
Modifier and Type | Field and Description |
---|---|
long[] |
_distribution |
java.lang.String[][] |
_domains
Categorical/factor/enum mappings, per column.
|
protected boolean |
_hasOffset
The name of the response column (which is always the last column).
|
protected boolean |
_hasWeights |
protected boolean |
_isSupervised |
Key[] |
_model_metrics
List of all the associated ModelMetrics objects, so we can delete them
when we delete this model.
|
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.
|
double[] |
_priorClassDist |
TwoDimTable |
_scoring_history
User-facing model scoring history - 2D table with modeling accuracy as a function of time/trees/epochs/iterations, etc.
|
Job.JobState |
_state
Job state (CANCELLED, FAILED, DONE).
|
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) |
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) |
java.lang.String[] |
classNames()
The names of the levels for an enum (categorical) response column.
|
hex.ModelCategory |
getModelCategory() |
boolean |
hasOffset() |
boolean |
hasWeights() |
boolean |
isClassifier()
Is this model a classification model? (v.
|
boolean |
isSupervised() |
int |
nclasses() |
int |
nfeatures()
Returns number of input features (OK for most unsupervised methods, need to override for supervised!)
|
int |
offsetIdx() |
java.lang.String |
offsetName() |
int |
responseIdx() |
java.lang.String |
responseName() |
java.lang.String |
toString() |
int |
weightsIdx() |
java.lang.String |
weightsName() |
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON_impl, writeJSON
public java.lang.String[] _names
public java.lang.String[][] _domains
public Key[] _model_metrics
public Job.JobState _state
public ModelMetrics _training_metrics
public ModelMetrics _validation_metrics
public TwoDimTable _model_summary
public TwoDimTable _scoring_history
protected boolean _isSupervised
protected final boolean _hasOffset
protected final boolean _hasWeights
public long[] _distribution
public double[] _modelClassDist
public double[] _priorClassDist
public Model.Output()
public Model.Output(boolean hasWeights, boolean hasOffset)
public Model.Output(ModelBuilder b)
public int nfeatures()
public boolean isSupervised()
public boolean hasOffset()
public boolean hasWeights()
public java.lang.String responseName()
public java.lang.String weightsName()
public java.lang.String offsetName()
public int responseIdx()
public int weightsIdx()
public int offsetIdx()
public java.lang.String[] classNames()
public boolean isClassifier()
public int nclasses()
public hex.ModelCategory getModelCategory()
public ModelMetrics addModelMetrics(ModelMetrics mm)
public java.lang.String toString()
toString
in class java.lang.Object