Skip to content
/ nn2poly Public

❗ This is a read-only mirror of the CRAN R package repository. nn2poly — Neural Network Weights Transformation into Polynomial Coefficients. Homepage: https://ibidat.github.io/nn2poly/https://github.com/IBiDat/nn2poly Report bugs for this package: https://github.com/IBiDat/nn2poly/issues

License

Notifications You must be signed in to change notification settings

cran/nn2poly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nn2poly: Transforming Neural Networks into Polynomials

Build_Status Coverage_Status CRAN_Status_Badge CRAN Downloads DOI DOI

The nn2poly package implements the NN2Poly method that allows to transform an already trained deep feed-forward fully connected neural network into a polynomial representation that predicts as similar as possible to the original neural network. 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).

Related Papers:

  • Pablo Morala, J. Alexandra Cifuentes, Rosa E. Lillo, Iñaki Ucar (2021). "Towards a mathematical framework to inform neural network modelling via polynomial regression." Neural Networks, 142, 57-72. doi: 10.1016/j.neunet.2021.04.036

  • Pablo Morala, J. Alexandra Cifuentes, Rosa E. Lillo, Iñaki Ucar (2023). "NN2Poly: A Polynomial Representation for Deep Feed-Forward Artificial Neural Networks." IEEE Transactions on Neural Networks and Learning Systems, (Early Access). doi: 10.1109/TNNLS.2023.3330328

Installation

The latest release version available in CRAN can be installed as:

install.packages("nn2poly")

The installation from GitHub requires the remotes package.

# install.packages("remotes")
remotes::install_github("IBiDat/nn2poly")

Funding

This package is part of the project/grant PDC2022-133359-I00 funded by MCIN/AEI/10.13039/501100011033 and by the European Union “NextGenerationEU/PRTR”.

Funding

About

❗ This is a read-only mirror of the CRAN R package repository. nn2poly — Neural Network Weights Transformation into Polynomial Coefficients. Homepage: https://ibidat.github.io/nn2poly/https://github.com/IBiDat/nn2poly Report bugs for this package: https://github.com/IBiDat/nn2poly/issues

Resources

License

Stars

Watchers

Forks

Packages

No packages published