The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

splineKANr: B-Spline Kolmogorov-Arnold Networks in Native R 'torch'

Implements Kolmogorov-Arnold Networks (KAN) whose edge functions are B-splines plus a residual base activation, written in native R on top of the 'torch' package. Provides Cox-de Boor basis evaluation with explicit extrapolation policies, multi-layer networks, Adam and L-BFGS training with validation, early stopping, input and output normalization, gradient clipping and reproducible seeds, adaptive (sample-based) grid updates, grid refinement, KAN-specific sparsity regularization, pruning, edge-function visualization and model persistence. A dependency-free base R reference implementation with analytic gradients is included as a numerical oracle and as a training backend that does not need 'libtorch'. The design follows Liu et al. (2024) <doi:10.48550/arXiv.2404.19756>.

Version: 0.5.1
Depends: R (≥ 4.1.0)
Imports: graphics, grDevices, splines, stats, torch (≥ 0.13.0), utils
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), jsonlite
Published: 2026-11-17
DOI: 10.32614/CRAN.package.splineKANr
Author: Thang Le-Dinh [aut, cre, cph]
Maintainer: Thang Le-Dinh <thang87sg at gmail.com>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: splineKANr results

Documentation:

Reference manual: splineKANr.html , splineKANr.pdf
Vignettes: Method, validation and application (source, R code)
Getting started with splineKANr (source, R code)

Downloads:

Package source: splineKANr_0.5.1.tar.gz
Windows binaries: r-devel: splineKANr_0.5.1.zip, r-release: splineKANr_0.5.1.zip, r-oldrel: splineKANr_0.5.1.zip
macOS binaries: r-release (arm64): splineKANr_0.5.1.tgz, r-oldrel (arm64): splineKANr_0.5.1.tgz, r-release (x86_64): splineKANr_0.5.1.tgz, r-oldrel (x86_64): splineKANr_0.5.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=splineKANr to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.