Other packages > Find by keyword >

nn2poly  

Neural Network Weights Transformation into Polynomial Coefficients
View on CRAN: Click here


Download and install nn2poly package within the R console
Install from CRAN:
install.packages("nn2poly")

Install from Github:
library("remotes")
install_github("cran/nn2poly")

Install by package version:
library("remotes")
install_version("nn2poly", "1.0.1")



Attach the package and use:
library("nn2poly")
Maintained by
Pablo Morala
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-01-24
Latest Update: 2024-11-11
Description:
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 , and 2023 .
How to cite:
Pablo Morala (2024). nn2poly: Neural Network Weights Transformation into Polynomial Coefficients. R package version 1.0.1, https://cran.r-project.org/web/packages/nn2poly. Accessed 27 Oct. 2026.
Previous versions and publish date:
(2026-07-18 00:40), 0.1.0 (2024-01-24 15:50), 0.1.1 (2024-01-30 10:10), 0.1.2 (2024-11-11 16:20), 0.1.3 (2025-12-12 11:10), 1.0.0 (2026-07-17 11:40)
Other packages that cited nn2poly R package
View nn2poly citation profile
Other R packages that nn2poly depends, imports, suggests or enhances
Complete documentation for nn2poly
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
exams2learnr  
Interface for 'exams' Exercises in 'learnr' Tutorials
Automatic generation of quizzes or individual questions for 'learnr' tutorials based on 'R/exams' ex ...
Download / Learn more Package Citations See dependency  
usemodels  
Boilerplate Code for 'Tidymodels' Analyses
Code snippets to fit models using the tidymodels framework can be easily created for a given data se ...
Download / Learn more Package Citations See dependency  
SGB  
Simplicial Generalized Beta Regression
Main properties and regression procedures using a generalization of the Dirichlet distribution calle ...
Download / Learn more Package Citations See dependency  
spanish  
Translate Quantities from Strings to Integer and Back. Misc Functions on Spanish Data
Character vector to numerical translation in Euros from Spanish spelled monetary quantities. Reverse ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA