58 references to MaxDeltaIndex
Microsoft.ML.Tests (58)
PermutationFeatureImportanceTests.cs (58)
82Assert.Equal(1, MaxDeltaIndex(pfi, m => m.MeanAbsoluteError.Mean)); 85Assert.Equal(1, MaxDeltaIndex(pfi, m => m.MeanSquaredError.Mean)); 88Assert.Equal(1, MaxDeltaIndex(pfi, m => m.RootMeanSquaredError.Mean)); 92Assert.Equal(3, MaxDeltaIndex(pfi, m => m.RSquared.Mean)); 156Assert.Equal(1, MaxDeltaIndex(pfi, m => m.MeanAbsoluteError.Mean)); 159Assert.Equal(1, MaxDeltaIndex(pfi, m => m.MeanSquaredError.Mean)); 162Assert.Equal(1, MaxDeltaIndex(pfi, m => m.RootMeanSquaredError.Mean)); 166Assert.Equal(3, MaxDeltaIndex(pfi, m => m.RSquared.Mean)); 229Assert.Equal(1, MaxDeltaIndex(pfi, m => m.MeanAbsoluteError.StandardDeviation)); 232Assert.Equal(1, MaxDeltaIndex(pfi, m => m.MeanSquaredError.StandardDeviation)); 235Assert.Equal(1, MaxDeltaIndex(pfi, m => m.RootMeanSquaredError.StandardDeviation)); 238Assert.Equal(1, MaxDeltaIndex(pfi, m => m.RSquared.StandardDeviation)); 242Assert.Equal(1, MaxDeltaIndex(pfi, m => m.MeanAbsoluteError.StandardError)); 245Assert.Equal(1, MaxDeltaIndex(pfi, m => m.MeanSquaredError.StandardError)); 248Assert.Equal(1, MaxDeltaIndex(pfi, m => m.RootMeanSquaredError.StandardError)); 251Assert.Equal(1, MaxDeltaIndex(pfi, m => m.RSquared.StandardError)); 317Assert.Equal(5, MaxDeltaIndex(results, m => m.MeanAbsoluteError.Mean)); 320Assert.Equal(5, MaxDeltaIndex(results, m => m.MeanSquaredError.Mean)); 323Assert.Equal(5, MaxDeltaIndex(results, m => m.RootMeanSquaredError.Mean)); 326Assert.Equal(2, MaxDeltaIndex(results, m => m.RSquared.Mean)); 387Assert.Equal(3, MaxDeltaIndex(pfi, m => m.AreaUnderRocCurve.Mean)); 389Assert.Equal(3, MaxDeltaIndex(pfi, m => m.Accuracy.Mean)); 391Assert.Equal(3, MaxDeltaIndex(pfi, m => m.PositivePrecision.Mean)); 393Assert.Equal(3, MaxDeltaIndex(pfi, m => m.PositiveRecall.Mean)); 395Assert.Equal(3, MaxDeltaIndex(pfi, m => m.NegativePrecision.Mean)); 397Assert.Equal(0, MaxDeltaIndex(pfi, m => m.NegativeRecall.Mean)); 399Assert.Equal(3, MaxDeltaIndex(pfi, m => m.F1Score.Mean)); 401Assert.Equal(3, MaxDeltaIndex(pfi, m => m.AreaUnderPrecisionRecallCurve.Mean)); 464Assert.Equal(2, MaxDeltaIndex(pfi, m => m.AreaUnderRocCurve.Mean)); 466Assert.Equal(2, MaxDeltaIndex(pfi, m => m.Accuracy.Mean)); 468Assert.Equal(2, MaxDeltaIndex(pfi, m => m.PositivePrecision.Mean)); 470Assert.Equal(2, MaxDeltaIndex(pfi, m => m.PositiveRecall.Mean)); 472Assert.Equal(2, MaxDeltaIndex(pfi, m => m.NegativePrecision.Mean)); 474Assert.Equal(2, MaxDeltaIndex(pfi, m => m.NegativeRecall.Mean)); 476Assert.Equal(2, MaxDeltaIndex(pfi, m => m.F1Score.Mean)); 478Assert.Equal(2, MaxDeltaIndex(pfi, m => m.AreaUnderPrecisionRecallCurve.Mean)); 496Assert.Equal(7, MaxDeltaIndex(pfi, m => m.AreaUnderRocCurve.Mean)); 498Assert.Equal(3, MaxDeltaIndex(pfi, m => m.Accuracy.Mean)); 500Assert.Equal(3, MaxDeltaIndex(pfi, m => m.PositivePrecision.Mean)); 502Assert.Equal(3, MaxDeltaIndex(pfi, m => m.PositiveRecall.Mean)); 504Assert.Equal(3, MaxDeltaIndex(pfi, m => m.NegativePrecision.Mean)); 506Assert.Equal(2, MaxDeltaIndex(pfi, m => m.NegativeRecall.Mean)); 508Assert.Equal(3, MaxDeltaIndex(pfi, m => m.F1Score.Mean)); 510Assert.Equal(7, MaxDeltaIndex(pfi, m => m.AreaUnderPrecisionRecallCurve.Mean)); 568Assert.Equal(3, MaxDeltaIndex(pfi, m => m.MicroAccuracy.Mean)); 570Assert.Equal(3, MaxDeltaIndex(pfi, m => m.MacroAccuracy.Mean)); 572Assert.Equal(3, MaxDeltaIndex(pfi, m => m.LogLossReduction.Mean)); 577Assert.Equal(1, MaxDeltaIndex(pfi, m => m.LogLoss.Mean)); 581Assert.True(MaxDeltaIndex(pfi, m => m.PerClassLogLoss[i].Mean) == 1); 645Assert.Equal(2, MaxDeltaIndex(pfi, m => m.MicroAccuracy.Mean)); 647Assert.Equal(2, MaxDeltaIndex(pfi, m => m.MacroAccuracy.Mean)); 649Assert.Equal(2, MaxDeltaIndex(pfi, m => m.LogLossReduction.Mean)); 654Assert.Equal(5, MaxDeltaIndex(pfi, m => m.LogLoss.Mean)); 658Assert.Equal(5, MaxDeltaIndex(pfi, m => m.PerClassLogLoss[i].Mean)); 723Assert.Equal(0, MaxDeltaIndex(pfi, m => m.DiscountedCumulativeGains[i].Mean)); 728Assert.Equal(0, MaxDeltaIndex(pfi, m => m.NormalizedDiscountedCumulativeGains[i].Mean)); 794Assert.Equal(2, MaxDeltaIndex(pfi, m => m.DiscountedCumulativeGains[i].Mean)); 799Assert.Equal(2, MaxDeltaIndex(pfi, m => m.NormalizedDiscountedCumulativeGains[i].Mean));