Modifier and Type | Field and Description |
---|---|
AUC |
auc |
ConfusionMatrix |
cm |
static DocGen.FieldDoc[] |
DOC_FIELDS |
long |
duration_in_ms |
UniqueId |
frame |
UniqueId |
model |
Model.ModelCategory |
model_category |
long |
scoring_time |
Constructor and Description |
---|
ModelMetrics(UniqueId model,
Model.ModelCategory model_category,
UniqueId frame,
long duration_in_ms,
long scoring_time,
AUC auc,
ConfusionMatrix cm) |
Modifier and Type | Method and Description |
---|---|
Key |
buildKey() |
static Key |
buildKey(Model model,
Frame frame) |
static Key |
buildKey(UniqueId model,
UniqueId frame) |
static ModelMetrics |
getFromDKV(Model model,
Frame frame) |
static ModelMetrics |
getFromDKV(UniqueId model,
UniqueId frame) |
void |
putInDKV() |
com.google.gson.JsonObject |
toJSON() |
clone, frozenType, init, newInstance, read, toDocField, write, writeJSON, writeJSONFields
public static DocGen.FieldDoc[] DOC_FIELDS
@Request.API(help="The unique ID (key / uuid / creation timestamp) for the model used for this scoring run.", required=false, filter=Request.Default.class, json=true) public UniqueId model
@Request.API(help="The category (e.g., Clustering) for the model used for this scoring run.", required=false, filter=Request.Default.class, json=true) public Model.ModelCategory model_category
@Request.API(help="The unique ID (key / uuid / creation timestamp) for the frame used for this scoring run.", required=false, filter=Request.Default.class, json=true) public UniqueId frame
@Request.API(help="The duration in mS for this scoring run.", required=false, filter=Request.Default.class, json=true) public long duration_in_ms
@Request.API(help="The time in mS since the epoch for the start of this scoring run.", required=false, filter=Request.Default.class, json=true) public long scoring_time
@Request.API(help="The AUC object for this scoring run.", required=false, filter=Request.Default.class, json=true) public AUC auc
@Request.API(help="The ConfusionMatrix object for this scoring run.", required=false, filter=Request.Default.class, json=true) public ConfusionMatrix cm
public ModelMetrics(UniqueId model, Model.ModelCategory model_category, UniqueId frame, long duration_in_ms, long scoring_time, AUC auc, ConfusionMatrix cm)
public Key buildKey()
public void putInDKV()
public static ModelMetrics getFromDKV(Model model, Frame frame)
public static ModelMetrics getFromDKV(UniqueId model, UniqueId frame)
public com.google.gson.JsonObject toJSON()