Package: thangldKANr 0.1.0
thangldKANr: Kolmogorov-Arnold Networks with Interchangeable Edge Bases Using 'torch'
Implements Kolmogorov-Arnold Networks (KAN) in R on top of the 'torch' package (no 'Python' needed) with one network engine and interchangeable edge bases: Chebyshev, Legendre and Jacobi polynomials, Gaussian radial basis functions (FastKAN), Mexican hat wavelets (Bozorgasl and Chen (2024) <doi:10.48550/arXiv.2405.12832>), safe Pade rational functions (Molina, Schramowski and Kersting (2020) <doi:10.48550/arXiv.1907.06732>), a hybrid of SiLU, Chebyshev and radial basis parts, and squared rectified linear unit bumps (Qiu et al. (2024) <doi:10.48550/arXiv.2406.02075>). Each layer may use a different basis, and further bases can be registered by other packages. Besides tabular regression, the same layers power graph KANs for node regression (neighbourhood aggregation with the normalized adjacency matrix, as in Kiamari, Kiamari and Krishnamachari (2024) <doi:10.48550/arXiv.2406.06470>) and lag-window KANs for one-step time series forecasting. Provides multi-layer networks with Adam training, training-only standardization, validation-based early stopping, reproducible seeds, edge-function evaluation and plots, and model persistence. A base R reference implementation with analytic gradients serves as a numerical oracle and as a training backend that does not need 'libtorch'. The network follows Liu et al. (2024) <doi:10.48550/arXiv.2404.19756>.
Authors:
thangldKANr_0.1.0.tar.gz
thangldKANr_0.1.0.zip(r-4.7-any)thangldKANr_0.1.0.zip(r-4.6-any)
thangldKANr_0.1.0.tar.gz(r-4.7-any)thangldKANr_0.1.0.tar.gz(r-4.6-any)
thangldKANr_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
thangldKANr/json (API)
| # Install 'thangldKANr' in R: |
| install.packages('thangldKANr', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/thangpro9999/thangldkanr/issues
Last updated from:3d951cc797. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 147 | ||
| source / vignettes | OK | 236 | ||
| linux-release | OK | 148 | ||
| windows-devel | OK | 113 | ||
| windows-release | OK | 121 | ||
| wasm-release | OK | 98 |
Exports:chebyshev_basischebyshev_basis_derivhybrid_basishybrid_basis_derivhybrid_kan_componentsjacobi_basisjacobi_basis_derivkan_baseskan_layer_baseslegendre_basislegendre_basis_derivmexican_hatmexican_hat_derivrationalrational_derivrbf_basisrbf_basis_derivrbf_gridregister_kan_basisrelu_basisrelu_basis_derivthangld_graph_kanthangld_graph_kan_adjacencythangld_graph_kan_fd_gradient_rthangld_graph_kan_fitthangld_graph_kan_forward_rthangld_graph_kan_gradient_rthangld_graph_kan_loadthangld_graph_kan_metricsthangld_graph_kan_savethangld_graph_kan_simulatethangld_graph_kan_validatethangld_kanthangld_kan_edgethangld_kan_fd_gradient_rthangld_kan_fitthangld_kan_forward_rthangld_kan_gradient_rthangld_kan_loadthangld_kan_metricsthangld_kan_savethangld_kan_validatethangld_temporal_kanthangld_temporal_kan_embedthangld_temporal_kan_fitthangld_temporal_kan_loadthangld_temporal_kan_rollingthangld_temporal_kan_savethangld_temporal_kan_validateunregister_kan_basis
Dependencies:bitbit64callrclicorodescfarvergluejsonlitelabelinglifecyclemagrittrotelprocessxpsR6RColorBrewerRcpprlangsafetensorsscalestorchviridisLitewithr
Last update: 2026-11-20
Started: 2026-11-20
Last update: 2026-11-20
Started: 2026-11-20
Last update: 2026-11-20
Started: 2026-11-20
