PermutationFeatureImportanceTests.cs (58)
81Assert.Equal(3, MinDeltaIndex(pfi, m => m.MeanAbsoluteError.Mean));
84Assert.Equal(3, MinDeltaIndex(pfi, m => m.MeanSquaredError.Mean));
87Assert.Equal(3, MinDeltaIndex(pfi, m => m.RootMeanSquaredError.Mean));
91Assert.Equal(1, MinDeltaIndex(pfi, m => m.RSquared.Mean));
155Assert.Equal(3, MinDeltaIndex(pfi, m => m.MeanAbsoluteError.Mean));
158Assert.Equal(3, MinDeltaIndex(pfi, m => m.MeanSquaredError.Mean));
161Assert.Equal(3, MinDeltaIndex(pfi, m => m.RootMeanSquaredError.Mean));
165Assert.Equal(1, MinDeltaIndex(pfi, m => m.RSquared.Mean));
228Assert.Equal(3, MinDeltaIndex(pfi, m => m.MeanAbsoluteError.StandardDeviation));
231Assert.Equal(3, MinDeltaIndex(pfi, m => m.MeanSquaredError.StandardDeviation));
234Assert.Equal(3, MinDeltaIndex(pfi, m => m.RootMeanSquaredError.StandardDeviation));
237Assert.Equal(3, MinDeltaIndex(pfi, m => m.RSquared.StandardDeviation));
241Assert.Equal(3, MinDeltaIndex(pfi, m => m.MeanAbsoluteError.StandardError));
244Assert.Equal(3, MinDeltaIndex(pfi, m => m.MeanSquaredError.StandardError));
247Assert.Equal(3, MinDeltaIndex(pfi, m => m.RootMeanSquaredError.StandardError));
250Assert.Equal(3, MinDeltaIndex(pfi, m => m.RSquared.StandardError));
316Assert.Equal(2, MinDeltaIndex(results, m => m.MeanAbsoluteError.Mean));
319Assert.Equal(2, MinDeltaIndex(results, m => m.MeanSquaredError.Mean));
322Assert.Equal(2, MinDeltaIndex(results, m => m.RootMeanSquaredError.Mean));
327Assert.Equal(5, MinDeltaIndex(results, m => m.RSquared.Mean));
388Assert.Equal(1, MinDeltaIndex(pfi, m => m.AreaUnderRocCurve.Mean));
390Assert.Equal(1, MinDeltaIndex(pfi, m => m.Accuracy.Mean));
392Assert.Equal(1, MinDeltaIndex(pfi, m => m.PositivePrecision.Mean));
394Assert.Equal(1, MinDeltaIndex(pfi, m => m.PositiveRecall.Mean));
396Assert.Equal(1, MinDeltaIndex(pfi, m => m.NegativePrecision.Mean));
398Assert.Equal(1, MinDeltaIndex(pfi, m => m.NegativeRecall.Mean));
400Assert.Equal(1, MinDeltaIndex(pfi, m => m.F1Score.Mean));
402Assert.Equal(1, MinDeltaIndex(pfi, m => m.AreaUnderPrecisionRecallCurve.Mean));
465Assert.Equal(5, MinDeltaIndex(pfi, m => m.AreaUnderRocCurve.Mean));
467Assert.Equal(5, MinDeltaIndex(pfi, m => m.Accuracy.Mean));
469Assert.Equal(5, MinDeltaIndex(pfi, m => m.PositivePrecision.Mean));
471Assert.Equal(5, MinDeltaIndex(pfi, m => m.PositiveRecall.Mean));
473Assert.Equal(5, MinDeltaIndex(pfi, m => m.NegativePrecision.Mean));
475Assert.Equal(5, MinDeltaIndex(pfi, m => m.NegativeRecall.Mean));
477Assert.Equal(5, MinDeltaIndex(pfi, m => m.F1Score.Mean));
479Assert.Equal(5, MinDeltaIndex(pfi, m => m.AreaUnderPrecisionRecallCurve.Mean));
497Assert.Equal(1, MinDeltaIndex(pfi, m => m.AreaUnderRocCurve.Mean));
499Assert.Equal(1, MinDeltaIndex(pfi, m => m.Accuracy.Mean));
501Assert.Equal(1, MinDeltaIndex(pfi, m => m.PositivePrecision.Mean));
503Assert.Equal(1, MinDeltaIndex(pfi, m => m.PositiveRecall.Mean));
505Assert.Equal(1, MinDeltaIndex(pfi, m => m.NegativePrecision.Mean));
507Assert.Equal(1, MinDeltaIndex(pfi, m => m.NegativeRecall.Mean));
509Assert.Equal(1, MinDeltaIndex(pfi, m => m.F1Score.Mean));
511Assert.Equal(1, MinDeltaIndex(pfi, m => m.AreaUnderPrecisionRecallCurve.Mean));
569Assert.Equal(1, MinDeltaIndex(pfi, m => m.MicroAccuracy.Mean));
571Assert.Equal(1, MinDeltaIndex(pfi, m => m.MacroAccuracy.Mean));
573Assert.Equal(1, MinDeltaIndex(pfi, m => m.LogLossReduction.Mean));
578Assert.Equal(3, MinDeltaIndex(pfi, m => m.LogLoss.Mean));
582Assert.True(MinDeltaIndex(pfi, m => m.PerClassLogLoss[i].Mean) == 3);
646Assert.Equal(5, MinDeltaIndex(pfi, m => m.MicroAccuracy.Mean));
648Assert.Equal(5, MinDeltaIndex(pfi, m => m.MacroAccuracy.Mean));
650Assert.Equal(5, MinDeltaIndex(pfi, m => m.LogLossReduction.Mean));
655Assert.Equal(2, MinDeltaIndex(pfi, m => m.LogLoss.Mean));
659Assert.Equal(2, MinDeltaIndex(pfi, m => m.PerClassLogLoss[i].Mean));
724Assert.Equal(1, MinDeltaIndex(pfi, m => m.DiscountedCumulativeGains[i].Mean));
729Assert.Equal(1, MinDeltaIndex(pfi, m => m.NormalizedDiscountedCumulativeGains[i].Mean));
795Assert.Equal(5, MinDeltaIndex(pfi, m => m.DiscountedCumulativeGains[i].Mean));
800Assert.Equal(5, MinDeltaIndex(pfi, m => m.NormalizedDiscountedCumulativeGains[i].Mean));