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

ai.h2o.automl.leaderboard.AlgoName 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;
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();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy