Package: nn2poly Title: Neural Network Weights Transformation into Polynomial Coefficients Version: 1.0.1.9000 Authors@R: c( person(given = "Pablo", family = "Morala", role = c("aut", "cre"), email = "moralapablo@gmail.com", comment = c(ORCID = "0000-0002-4109-2330")), person(given = "Iñaki", family = "Ucar", role = c("aut"), email = "iucar@fedoraproject.org", comment = c(ORCID = "0000-0001-6403-5550")), person(given = "Jose Ignacio", family = "Diez", role = c("ctr")) ) 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 . License: MIT + file LICENSE Encoding: UTF-8 Depends: R (>= 3.5.0) Imports: Rcpp, generics Suggests: keras, tensorflow, reticulate, luz, torch, cowplot, ggplot2, patchwork, testthat (>= 3.0.0), vdiffr, knitr, rmarkdown LinkingTo: Rcpp, RcppArmadillo VignetteBuilder: knitr Roxygen: list(markdown = TRUE) Config/roxygen2/version: 8.0.0 Config/testthat/edition: 3 URL: https://ibidat.github.io/nn2poly/, https://github.com/IBiDat/nn2poly BugReports: https://github.com/IBiDat/nn2poly/issues Repository: https://ibidat.r-universe.dev Date/Publication: 2026-07-23 15:20:52 UTC RemoteUrl: https://github.com/ibidat/nn2poly RemoteRef: HEAD RemoteSha: c09b74b59228a3d2757d846c8c1f89dd360d5a98 NeedsCompilation: yes Packaged: 2026-07-24 09:33:43 UTC; root Author: Pablo Morala [aut, cre] (ORCID: ), Iñaki Ucar [aut] (ORCID: ), Jose Ignacio Diez [ctr] Maintainer: Pablo Morala