Skip to content

AutoML Ranking Error: "RankingMetrics Not Implemented" #5381

Closed
@jwood803

Description

@jwood803

When running the Ranking AutoML experiment on this data from the Ranking sample, I seem to get a Metric Microsoft.ML.Data.RankingMetrics not implemented error during the Execute method.

I'm probably doing something wrong but I'm not sure what I'm missing.

var context = new MLContext();

var data = context.Data.LoadFromTextFile<RankingData>("./ranking.tsv", separatorChar: '\t');

var settings = new RankingExperimentSettings
{
      MaxExperimentTimeInSeconds = 300,
      OptimizingMetric = RankingMetric.Ndcg
};

var experiment = context.Auto().CreateRankingExperiment(settings);

var results = experiment.Execute(data);

Here's the full code, if needed.

Metadata

Metadata

Assignees

Labels

AutoML.NETAutomating various steps of the machine learning processP1Priority of the issue for triage purpose: Needs to be fixed soon.bugSomething isn't workingrankingBugs related ranking tasks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions