public class MetricScore extends Iced<MetricScore> implements LeaderboardCell<java.lang.Double,MetricScore>
Constructor and Description |
---|
MetricScore(Key<Model> modelId,
java.lang.String metric,
java.lang.Double score) |
Modifier and Type | Method and Description |
---|---|
LeaderboardColumn |
getColumn() |
static LeaderboardColumn |
getColumn(java.lang.String metric) |
Key<Model> |
getModelId() |
java.lang.Double |
getValue()
gets the current value of the cell.
|
void |
setValue(java.lang.Double value)
sets the cell value.
|
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fetch, isNA
asBytes, clone, frozenType, read, readJSON, reloadFromBytes, write, writeJSON
public static LeaderboardColumn getColumn(java.lang.String metric)
public LeaderboardColumn getColumn()
getColumn
in interface LeaderboardCell<java.lang.Double,MetricScore>
public Key<Model> getModelId()
getModelId
in interface LeaderboardCell<java.lang.Double,MetricScore>
public java.lang.Double getValue()
LeaderboardCell
LeaderboardCell.fetch()
.
This is an accessor, it is safe to call LeaderboardCell.getValue()
multiple times without triggering any side effect.getValue
in interface LeaderboardCell<java.lang.Double,MetricScore>
public void setValue(java.lang.Double value)
LeaderboardCell
setValue
in interface LeaderboardCell<java.lang.Double,MetricScore>