public abstract static class Model.Output extends Iced
| Modifier and Type | Field and Description |
|---|---|
java.lang.String[][] |
_domains
Categorical/factor/enum mappings, per column.
|
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
|
java.lang.String[] |
_names
Columns used in the model and are used to match up with scoring data
columns.
|
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(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 |
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!)
|
java.lang.String |
responseName()
The name of the response column (which is always the last column).
|
java.lang.String |
toString() |
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON_impl, writeJSONpublic 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
public Model.Output(ModelBuilder b)
public int nfeatures()
public boolean isSupervised()
public java.lang.String responseName()
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