1 write to DiscountedCumulativeGains
Microsoft.ML.Transforms (1)
MetricStatistics.cs (1)
303
DiscountedCumulativeGains
= MetricsStatisticsUtils.InitializeArray(metrics.DiscountedCumulativeGains.Count);
8 references to DiscountedCumulativeGains
Microsoft.ML.Tests (6)
PermutationFeatureImportanceTests.cs (6)
721
for (int i = 0; i < pfi[0].
DiscountedCumulativeGains
.Count; i++)
723
Assert.Equal(0, MaxDeltaIndex(pfi, m => m.
DiscountedCumulativeGains
[i].Mean));
724
Assert.Equal(1, MinDeltaIndex(pfi, m => m.
DiscountedCumulativeGains
[i].Mean));
792
for (int i = 0; i < pfi[0].
DiscountedCumulativeGains
.Count; i++)
794
Assert.Equal(2, MaxDeltaIndex(pfi, m => m.
DiscountedCumulativeGains
[i].Mean));
795
Assert.Equal(5, MinDeltaIndex(pfi, m => m.
DiscountedCumulativeGains
[i].Mean));
Microsoft.ML.Transforms (2)
MetricStatistics.cs (2)
302
if (
DiscountedCumulativeGains
== null)
308
MetricsStatisticsUtils.AddToEach(metrics.DiscountedCumulativeGains,
DiscountedCumulativeGains
);