diff --git a/src/Microsoft.ML.Data/TrainCatalog.cs b/src/Microsoft.ML.Data/TrainCatalog.cs index 46d914e7ad..7e1eed9f74 100644 --- a/src/Microsoft.ML.Data/TrainCatalog.cs +++ b/src/Microsoft.ML.Data/TrainCatalog.cs @@ -623,7 +623,10 @@ internal RankingTrainers(RankingCatalog catalog) /// The name of the groupId column in . /// The name of the score column in . /// The evaluation results for these calibrated outputs. - public RankerMetrics Evaluate(IDataView data, string label, string groupId, string score = DefaultColumnNames.Score) + public RankerMetrics Evaluate(IDataView data, + string label = DefaultColumnNames.Label, + string groupId = DefaultColumnNames.GroupId, + string score = DefaultColumnNames.Score) { Environment.CheckValue(data, nameof(data)); Environment.CheckNonEmpty(label, nameof(label));