kindling: Higher-Level Interface of 'torch' Package to Auto-Train Neural Networks

Provides a higher-level interface to the 'torch' package for defining, training, and fine-tuning neural networks, including its depth, powered by code generation. This package currently supports few to several architectures, namely feedforward (multi-layer perceptron) and recurrent neural networks (Recurrent Neural Networks (RNN), Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU)), while also reduces boilerplate 'torch' code while enabling seamless integration with 'torch'. The model methods to train neural networks from this package also bridges to titanic ML frameworks in R, namely 'tidymodels' ecosystem, which enables the 'parsnip' model specifications, workflows, recipes, and tuning tools.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: purrr, torch, rlang, cli, glue, vctrs, parsnip (≥ 1.0.0), tibble, tidyr, dplyr, stats, NeuralNetTools, vip, ggplot2, tune, dials, hardhat
Suggests: testthat (≥ 3.0.0), magrittr, box, recipes, workflows, rsample, yardstick, mlbench, modeldata, knitr, rmarkdown, DiceDesign, lhs, sfd
Published: 2026-02-04
DOI: 10.32614/CRAN.package.kindling
Author: Joshua Marie [aut, cre]
Maintainer: Joshua Marie <joshua.marie.k at gmail.com>
BugReports: https://github.com/joshuamarie/kindling/issues
License: MIT + file LICENSE
URL: https://kindling.joshuamarie.com, https://github.com/joshuamarie/kindling
NeedsCompilation: no
Citation: kindling citation info
Materials: README, NEWS
CRAN checks: kindling results

Documentation:

Reference manual: kindling.html , kindling.pdf
Vignettes: Getting Started with kindling (source, R code)
Similar packages and comparison (source, R code)

Downloads:

Package source: kindling_0.2.0.tar.gz
Windows binaries: r-devel: kindling_0.2.0.zip, r-release: not available, r-oldrel: kindling_0.2.0.zip
macOS binaries: r-release (arm64): kindling_0.1.0.tgz, r-oldrel (arm64): kindling_0.1.0.tgz, r-release (x86_64): kindling_0.2.0.tgz, r-oldrel (x86_64): kindling_0.2.0.tgz
Old sources: kindling archive

Linking:

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