public abstract static class SupervisedModel.SupervisedOutput extends Model.Output
| Modifier and Type | Field and Description |
|---|---|
long[] |
_distribution |
double[] |
_modelClassDist |
double[] |
_priorClassDist |
_domains, _model_metrics, _model_summary, _names, _scoring_history, _state, _training_metrics, _validation_metrics| Constructor and Description |
|---|
SupervisedModel.SupervisedOutput() |
SupervisedModel.SupervisedOutput(SupervisedModelBuilder b)
Any final prep-work just before model-building starts, but after the
user has clicked "go".
|
| Modifier and Type | Method and Description |
|---|---|
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!)
|
addModelMetrics, classNames, responseName, toStringclone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, toJsonString, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON_impl, writeJSONpublic long[] _distribution
public double[] _priorClassDist
public double[] _modelClassDist
public SupervisedModel.SupervisedOutput()
public SupervisedModel.SupervisedOutput(SupervisedModelBuilder b)
public int nfeatures()
Model.Outputnfeatures in class Model.Outputpublic boolean isSupervised()
isSupervised in class Model.Outputpublic int nclasses()
nclasses in class Model.Outputpublic boolean isClassifier()
Model.OutputisClassifier in class Model.Outputpublic hex.ModelCategory getModelCategory()
getModelCategory in class Model.Output