public final class ModelMetrics extends Keyed
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelMetrics.MetricBuilder
Class used to compute AUCs, CMs & HRs "on the fly" during other passes
over Big Data.
|
| Modifier and Type | Field and Description |
|---|---|
AUCData |
_aucdata |
ConfusionMatrix |
_cm |
HitRatio |
_hr |
double |
_mse |
double |
_sigma |
| Constructor and Description |
|---|
ModelMetrics(Model model,
Frame frame) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
checksum_impl()
High-quality 64-bit checksum of the content of the
object.
|
Frame |
frame() |
static ModelMetrics |
getFromDKV(Model model,
Frame frame) |
boolean |
isForFrame(Frame f) |
boolean |
isForModel(Model m) |
Model |
model() |
double |
r2() |
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, toJsonString, write_impl, write, writeExternal, writeHTML_impl, writeHTML, writeJSON_impl, writeJSONpublic final double _sigma
public final double _mse
public final AUCData _aucdata
public final ConfusionMatrix _cm
public final HitRatio _hr
public Model model()
public Frame frame()
public double r2()
public ModelMetricsBase schema()
public boolean isForModel(Model m)
public boolean isForFrame(Frame f)
public static ModelMetrics getFromDKV(Model model, Frame frame)
protected long checksum_impl()
Keyedchecksum_impl in class Keyed