nn2poly: Neural Network Weights Transformation into Polynomial Coefficients

Implements a method that builds the coefficients of a polynomial model that performs almost equivalently as a given neural network (densely connected). This is achieved using Taylor expansion at the activation functions. The obtained polynomial coefficients can be used to explain features (and their interactions) importance in the neural network, therefore working as a tool for interpretability or eXplainable Artificial Intelligence (XAI). See Morala et al. 2021 <doi:10.1016/j.neunet.2021.04.036>, and 2023 <doi:10.1109/TNNLS.2023.3330328>.

Package details

AuthorPablo Morala [aut, cre] (<https://orcid.org/0000-0002-4109-2330>), Iñaki Ucar [aut] (<https://orcid.org/0000-0001-6403-5550>), Jose Ignacio Diez [ctr]
MaintainerPablo Morala <moralapablo@gmail.com>
LicenseMIT + file LICENSE
Version0.1.1
URL https://ibidat.github.io/nn2poly/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("nn2poly")

Try the nn2poly package in your browser

Any scripts or data that you put into this service are public.

nn2poly documentation built on May 29, 2024, 5:08 a.m.