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, writeJSONequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetch, isNAasBytes, clone, frozenType, read, readJSON, reloadFromBytes, write, writeJSONpublic 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()
LeaderboardCellLeaderboardCell.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)
LeaderboardCellsetValue in interface LeaderboardCell<java.lang.Double,MetricScore>