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.
|
java.lang.String[] |
_names
Columns used in the model and are used to match up with scoring data
columns.
|
Job.JobState |
_state
Job state (CANCELLED, FAILED, DONE).
|
long |
_training_duration_in_ms
The duration in mS for model training, again this comes from the Job
which needs to split from ModelBuilder.
|
long |
_training_start_time
The start time in mS since the epoch for model training, again this
comes from the Job which needs to split from ModelBuilder.
|
| 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 |
|---|---|
protected ModelMetrics |
addModelMetrics(ModelMetrics mm) |
java.lang.String[] |
allNames()
The names of all the columns, including the response column (which comes last).
|
java.lang.String[] |
classNames()
The names of the levels for an enum (categorical) response column.
|
Model.ModelCategory |
getModelCategory() |
boolean |
isClassifier()
Is this model a classification model? (v.
|
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).
|
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 long _training_start_time
public long _training_duration_in_ms
public Model.Output(ModelBuilder b)
public int nfeatures()
public java.lang.String[] allNames()
public java.lang.String responseName()
public java.lang.String[] classNames()
public boolean isClassifier()
public int nclasses()
public Model.ModelCategory getModelCategory()
protected ModelMetrics addModelMetrics(ModelMetrics mm)