ai.h2o.automl.leaderboard.AlgoName Maven / Gradle / Ivy
package ai.h2o.automl.leaderboard;
import hex.Model;
import water.Iced;
import water.Key;
import water.util.Log;
public class AlgoName extends Iced implements LeaderboardCell {
public static final LeaderboardColumn COLUMN = new LeaderboardColumn("algo", "string", "%s");
final Key _modelId;
private String _algo;
public AlgoName(Model model) {
this._modelId = model._key;
this._algo = model._parms.algoName();
}
@Override
public LeaderboardColumn getColumn() {
return COLUMN;
}
@Override
public Key getModelId() {
return _modelId;
}
@Override
public String getValue() {
return _algo;
}
@Override
public void setValue(String value) {
throw new UnsupportedOperationException();
}
}