Go top
Paper information

NeuralSens: sensitivity analysis of neural networks

J. Pizarroso, J. Portela, A. Muñoz

Journal of Statistical Software Vol. 102, nº. 7, pp. 1 - 36

Summary:

This article presents the NeuralSens package that can be used to perform sensitivity analysis of neural networks using the partial derivatives method. The main function of the package calculates the partial derivatives of the output with regard to the input variables of a multi-layer perceptron model, which can be used to evaluate variable importance based on sensitivity measures and characterize relationships between input and output variables. Methods to calculate partial derivatives are provided for objects trained using common neural network packages in R, and a 'numeric' method is provided for objects from packages which are not included. The package also includes functions to plot the information obtained from the sensitivity analysis. The article contains an overview of techniques for obtaining information from neural network models, a theoretical foundation of how partial derivatives are calculated, a description of the package functions, and applied examples to compare NeuralSens functions with analogous functions from other available R packages.


Keywords: neural networks, sensitivity, analysis, variable importance, R, NeuralSens.


JCR Impact Factor and WoS quartile: 5,800 - Q1 (2022)

DOI reference: DOI icon https://doi.org/10.18637/jss.v102.i07

Published on paper: April 2022.



Citation:
J. Pizarroso, J. Portela, A. Muñoz, NeuralSens: sensitivity analysis of neural networks. Journal of Statistical Software. Vol. 102, nº. 7, pp. 1 - 36, April 2022.


    Research topics:
  • Data analytics