public class Leaderboard extends water.Keyed<Leaderboard>
Note that if a new Leaderboard is made for the same project_name it'll keep using the old model list, which allows us to run AutoML multiple times and keep adding to the leaderboard.
The models are returned sorted by either an appropriate default metric for the model category (auc, mean per class error, or mean residual deviance), or by a metric that's set via #setMetricAndDirection.
TODO: make this robust against removal of models from the DKV.
| Modifier and Type | Field and Description |
|---|---|
double[] |
auc |
double[] |
logloss |
double[] |
mae |
double[] |
mean_per_class_error |
double[] |
mean_residual_deviance
Additional metrics for the models in this leaderboard, in the same order as the models
Regression metrics: rmse, mse, mae, and rmsle
Binomial metrics: logloss, mean_per_class_error, rmse, & mse
Multinomial metrics: logloss, mean_per_class_error, rmse, & mse
|
double[] |
mse |
double[] |
rmse |
double[] |
rmsle |
double[] |
sort_metrics
Sort metrics for the models in this leaderboard, in the same order as the models.
|
| Constructor and Description |
|---|
Leaderboard(java.lang.String project_name,
EventLog eventLog,
water.fvec.Frame leaderboardFrame,
java.lang.String sort_metric) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProject() |
static java.lang.String |
idForProject(java.lang.String project_name) |
protected water.Futures |
remove_impl(water.Futures fs,
boolean cascade)
Delete object and its dependencies from DKV, including models.
|
java.lang.String |
toString() |
water.util.TwoDimTable |
toTwoDimTable() |
checksum_impl, checksum, makeSchema, readAll_impl, readAll, remove_impl, remove, remove, remove, remove, remove, remove, writeAll_impl, writeAllpublic double[] sort_metrics
Updated inside addModels().
public double[] mean_residual_deviance
Updated inside addModels().
public double[] rmse
public double[] mse
public double[] mae
public double[] rmsle
public double[] logloss
public double[] auc
public double[] mean_per_class_error
public Leaderboard(java.lang.String project_name,
EventLog eventLog,
water.fvec.Frame leaderboardFrame,
java.lang.String sort_metric)
public static java.lang.String idForProject(java.lang.String project_name)
public java.lang.String getProject()
protected water.Futures remove_impl(water.Futures fs,
boolean cascade)
remove_impl in class water.Keyed<Leaderboard>public water.util.TwoDimTable toTwoDimTable()
public java.lang.String toString()
toString in class java.lang.Object