CRAN/E | nn2poly

nn2poly

Neural Network Weights Transformation into Polynomial Coefficients

Installation

About

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.

Citation nn2poly citation info
ibidat.github.io/nn2poly/

Key Metrics

Version 0.1.1
R ≥ 3.5.0
Published 2024-01-30 90 days ago
Needs compilation? yes
License MIT
License File
CRAN checks nn2poly results

Downloads

Yesterday 5 0%
Last 7 days 51 +34%
Last 30 days 156 -3%
Last 90 days 587 +366%
Last 365 days 698

Maintainer

Maintainer

Pablo Morala

moralapablo@gmail.com

Authors

Pablo Morala

aut / cre

Iñaki Ucar

aut

Jose Ignacio Diez

ctr

Material

README
NEWS
Reference manual
Package source

Vignettes

Introduction to nn2poly
Supported DL frameworks
Classification example using tensorflow

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

nn2poly archive

Depends

R ≥ 3.5.0

Imports

Rcpp
generics
matrixStats
pracma

Suggests

keras
tensorflow
reticulate
luz
torch
cowplot
ggplot2
patchwork
testthat ≥ 3.0.0
vdiffr
knitr
rmarkdown

LinkingTo

Rcpp
RcppArmadillo