public final class ModelMetrics extends Keyed
| Modifier and Type | Field and Description |
|---|---|
AUCData |
auc |
ConfusionMatrix |
cm |
long |
duration_in_ms |
Key |
frame |
long |
frame_checksum |
Key |
model |
Model.ModelCategory |
model_category |
long |
model_checksum |
long |
scoring_time |
| Constructor and Description |
|---|
ModelMetrics(Model model,
Frame frame) |
ModelMetrics(Model model,
Frame frame,
long duration_in_ms,
long scoring_time,
AUCData auc,
ConfusionMatrix cm) |
| Modifier and Type | Method and Description |
|---|---|
Key |
buildKey() |
static Key |
buildKey(Model model,
Frame frame) |
long |
checksum()
High-quality 64-bit checksum of the content of the
object.
|
static ModelMetrics |
createModelMetrics(Model model,
Frame frame,
long duration_in_ms,
long scoring_time,
AUCData auc,
ConfusionMatrix cm)
Factory method for creating a ModelMetrics and storing it in the DKV for later.
|
static ModelMetrics |
getFromDKV(Model model,
Frame frame) |
boolean |
isForFrame(Frame f) |
boolean |
isForModel(Model m) |
void |
putInDKV() |
ModelMetricsBase |
schema()
Externally visible default schema
TODO: this is in the wrong layer: the internals should not know anything about the schemas!!!
This puts a reverse edge into the dependency graph.
|
clone, frozenType, read_impl, read, readExternal, readJSON_impl, readJSON, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON_impl, writeJSONpublic Key model
public long model_checksum
public Model.ModelCategory model_category
public Key frame
public long frame_checksum
public long duration_in_ms
public long scoring_time
public AUCData auc
public ConfusionMatrix cm
public ModelMetrics(Model model, Frame frame, long duration_in_ms, long scoring_time, AUCData auc, ConfusionMatrix cm)
public static ModelMetrics createModelMetrics(Model model, Frame frame, long duration_in_ms, long scoring_time, AUCData auc, ConfusionMatrix cm)
public ModelMetricsBase schema()
public Key buildKey()
public boolean isForModel(Model m)
public boolean isForFrame(Frame f)
public void putInDKV()
public static ModelMetrics getFromDKV(Model model, Frame frame)
public long checksum()
Keyed