1 write to Ranking
Microsoft.ML.Data (1)
MLContext.cs (1)
154
Ranking
= new RankingCatalog(_env);
35 references to Ranking
Microsoft.ML.AutoML (3)
Experiment\MetricsAgents\RankingMetricsAgent.cs (1)
76
return _mlContext.
Ranking
.Evaluate(data, rankingEvalOptions, labelColumn, groupIdColumn);
TrainerExtensions\RankingTrainerExtensions.cs (2)
27
return mlContext.
Ranking
.Trainers.LightGbm(options);
49
return mlContext.
Ranking
.Trainers.FastTree(options);
Microsoft.ML.AutoML.Samples (1)
AutoFit\RankingExperiment.cs (1)
48
RankingMetrics testMetrics = mlContext.
Ranking
.Evaluate(testDataViewWithBestScore, labelColumnName: LabelColumnName);
Microsoft.ML.IntegrationTests (5)
Evaluation.cs (3)
177
.Append(mlContext.
Ranking
.Trainers.FastTree(new FastTreeRankingTrainer.Options { NumberOfThreads = 1 }));
197
var metrics = mlContext.
Ranking
.Evaluate(scoredData, labelColumnName: "Label", rowGroupColumnName: "GroupId");
216
var metrics = mlContext.
Ranking
.Evaluate(scoredData, options, labelColumnName: "Label", rowGroupColumnName: "GroupId");
Validation.cs (2)
71
var trainer = mlContext.
Ranking
.Trainers.FastTree(new FastTreeRankingTrainer.Options()
87
var result = mlContext.
Ranking
.CrossValidate(trainDataView, trainingPipeline, numberOfFolds: numFolds);
Microsoft.ML.Samples (12)
Dynamic\Trainers\Ranking\FastTree.cs (2)
30
var pipeline = mlContext.
Ranking
.Trainers.FastTree();
63
var metrics = mlContext.
Ranking
.Evaluate(transformedTestData);
Dynamic\Trainers\Ranking\FastTreeWithOptions.cs (2)
44
var pipeline = mlContext.
Ranking
.Trainers.FastTree(options);
77
var metrics = mlContext.
Ranking
.Evaluate(transformedTestData);
Dynamic\Trainers\Ranking\LightGbm.cs (2)
30
var pipeline = mlContext.
Ranking
.Trainers.LightGbm();
63
var metrics = mlContext.
Ranking
.Evaluate(transformedTestData);
Dynamic\Trainers\Ranking\LightGbmWithOptions.cs (2)
45
var pipeline = mlContext.
Ranking
.Trainers.LightGbm(options);
78
var metrics = mlContext.
Ranking
.Evaluate(transformedTestData);
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (2)
33
.Append(mlContext.
Ranking
.Trainers.FastTree());
46
var permutationMetrics = mlContext.
Ranking
.PermutationFeatureImportance(
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (2)
35
.Append(mlContext.
Ranking
.Trainers.FastTree());
53
var permutationMetrics = mlContext.
Ranking
.PermutationFeatureImportance(
Microsoft.ML.Tests (14)
FeatureContributionTests.cs (2)
110
TestFeatureContribution(ML.
Ranking
.Trainers.FastTree(), GetSparseDataset(TaskType.Ranking, 100), "FastTreeRanking");
116
TestFeatureContribution(ML.
Ranking
.Trainers.LightGbm(), GetSparseDataset(TaskType.Ranking, 100), "LightGbmRanking");
PermutationFeatureImportanceTests.cs (10)
676
var model = ML.
Ranking
.Trainers.FastTree().Fit(data);
694
pfi = ML.
Ranking
.PermutationFeatureImportance(castedModel, data);
695
pfiDict = ml2.
Ranking
.PermutationFeatureImportance(loadedModel, data);
703
pfi = ML.
Ranking
.PermutationFeatureImportance(model, data);
704
pfiDict = ml2.
Ranking
.PermutationFeatureImportance((ITransformer)model, data);
745
var model = ML.
Ranking
.Trainers.FastTree().Fit(data);
762
pfi = ML.
Ranking
.PermutationFeatureImportance(castedModel, data);
763
pfiDict = ml2.
Ranking
.PermutationFeatureImportance(loadedModel, data);
771
pfi = ML.
Ranking
.PermutationFeatureImportance(model, data);
772
pfiDict = ml2.
Ranking
.PermutationFeatureImportance((ITransformer)model, data);
TrainerEstimators\TreeEstimators.cs (2)
175
var trainer = ML.
Ranking
.Trainers.FastTree(
199
var trainer = ML.
Ranking
.Trainers.LightGbm(new LightGbmRankingTrainer.Options() { LabelColumnName = "Label0", FeatureColumnName = "NumericFeatures", RowGroupColumnName = "Group", LearningRate = 0.4 });