All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.h2o.automl.leaderboard.ModelId Maven / Gradle / Ivy

There is a newer version: 3.46.0.6
Show newest version
package ai.h2o.automl.leaderboard;

import hex.Model;
import water.Iced;
import water.Key;

/**
 * A cell for the model id column.
 */
public class ModelId extends Iced implements LeaderboardCell {

    public static final LeaderboardColumn COLUMN = new LeaderboardColumn("model_id", "string", "%s");

    private final Key _modelId;

    public ModelId(Key modelId) {
        _modelId = modelId;
    }

    @Override
    public LeaderboardColumn getColumn() {
        return COLUMN;
    }

    @Override
    public Key getModelId() {
        return _modelId;
    }


    @Override
    public String getValue() {
        return _modelId.toString();
    }

    @Override
    public void setValue(String value) { throw new UnsupportedOperationException(); }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy