1 write to NormalizedDiscountedCumulativeGains
Microsoft.ML.Transforms (1)
MetricStatistics.cs (1)
306
NormalizedDiscountedCumulativeGains
= MetricsStatisticsUtils.InitializeArray(metrics.NormalizedDiscountedCumulativeGains.Count);
12 references to NormalizedDiscountedCumulativeGains
Microsoft.ML.Samples (4)
Dynamic\Trainers\Ranking\PermutationFeatureImportance.cs (2)
54
metrics.
NormalizedDiscountedCumulativeGains
64
x => x.
NormalizedDiscountedCumulativeGains
).ToArray();
Dynamic\Trainers\Ranking\PermutationFeatureImportanceLoadFromDisk.cs (2)
61
metrics.
NormalizedDiscountedCumulativeGains
71
x => x.
NormalizedDiscountedCumulativeGains
).ToArray();
Microsoft.ML.Tests (6)
PermutationFeatureImportanceTests.cs (6)
726
for (int i = 0; i < pfi[0].
NormalizedDiscountedCumulativeGains
.Count; i++)
728
Assert.Equal(0, MaxDeltaIndex(pfi, m => m.
NormalizedDiscountedCumulativeGains
[i].Mean));
729
Assert.Equal(1, MinDeltaIndex(pfi, m => m.
NormalizedDiscountedCumulativeGains
[i].Mean));
797
for (int i = 0; i < pfi[0].
NormalizedDiscountedCumulativeGains
.Count; i++)
799
Assert.Equal(2, MaxDeltaIndex(pfi, m => m.
NormalizedDiscountedCumulativeGains
[i].Mean));
800
Assert.Equal(5, MinDeltaIndex(pfi, m => m.
NormalizedDiscountedCumulativeGains
[i].Mean));
Microsoft.ML.Transforms (2)
MetricStatistics.cs (2)
305
if (
NormalizedDiscountedCumulativeGains
== null)
309
MetricsStatisticsUtils.AddToEach(metrics.NormalizedDiscountedCumulativeGains,
NormalizedDiscountedCumulativeGains
);