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 (KAN) in native R torch, with a dependency-free base R reference implementation used as a numerical oracle.

# install.packages(c("torch", "devtools")); torch::install_torch()
devtools::install()          # from the package folder
library(splineKANr)

d   <- kan_synthetic("interaction", n = 500, seed = 1)
fit <- kan_fit(d$x, d$y, hidden = 4, epochs = 200, batch_size = 64,
               grid_update_every = 10, seed = 1)
predict(fit, d$x[1:5, ])
plot(fit, layer = 1, data = d$x)
kan_validate_all()           # basis, derivative, gradient checks

Status: see NEWS.md, inst/validation/ and the verification report shipped with each release. pykan (Liu et al., 2024) is used only to produce reference numbers; the package does not depend on Python.

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.