Naive Dataset-wise Attribution Methods#

Naive alternatives to Integrated Gradient Correlation (IGC).

Note

For demonstration purposes only

Note

Welford’s online algorithm [Wel62] is used for the computation of mean, standard deviation, and correlation statistics (see wikipedia).

igc.naive

IntGradMeanStd(module[, dataset, ...])

Mean/std of the IG distribution over the dataset (IGms).

NaiveCorrelation(module, dataset[, ...])

Naive input/output correlation.

NaiveTTest(module, dataset[, dtld_kwargs, ...])

Naive two-sample t-tests between inputs corresponding to categories based on outputs characteristics.