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

water.bindings.pojos.LeaderboardV99 Maven / Gradle / Ivy

There is a newer version: 3.46.0.5
Show newest version
/*
 * This file is auto-generated by h2o-3/h2o-bindings/bin/gen_java.py
 * Copyright 2016 H2O.ai;  Apache License Version 2.0 (see LICENSE for details)
 */
package water.bindings.pojos;

import com.google.gson.Gson;
import com.google.gson.annotations.*;


public class LeaderboardV99 extends SchemaV3 {

    /**
     * Identifier for models that should be grouped together in the leaderboard
     */
    @SerializedName("project_name")
    public String projectName;

    /**
     * List of models for this leaderboard, sorted by metric so that the best is first
     */
    public ModelKeyV3[] models;

    /**
     * Frame for this leaderboard
     */
    @SerializedName("leaderboard_frame")
    public FrameKeyV3 leaderboardFrame;

    /**
     * Checksum for the Frame for this leaderboard
     */
    @SerializedName("leaderboard_frame_checksum")
    public long leaderboardFrameChecksum;

    /**
     * Sort metrics for the models in this leaderboard, in the same order as the models
     */
    @SerializedName("sort_metrics")
    public double[] sortMetrics;

    /**
     * Metric used to sort this leaderboard
     */
    @SerializedName("sort_metric")
    public String sortMetric;

    /**
     * Metric direction used in the sort
     */
    @SerializedName("sort_decreasing")
    public boolean sortDecreasing;

    /**
     * A table representation of this leaderboard, for easy rendering
     */
    public TwoDimTableV3 table;

    /**
     * Public constructor
     */
    public LeaderboardV99() {
        projectName = "";
        leaderboardFrameChecksum = 0L;
        sortMetric = "";
        sortDecreasing = false;
    }

    /**
     * Return the contents of this object as a JSON String.
     */
    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy